]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: wilc1000: avoid extra buffer copy while connect cfg ops
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:03:34 +0000 (18:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:49:45 +0000 (09:49 +0100)
commita343cf5d329e54c6b76a83ec6e98c67ec6eb34bf
treead53657f98a95eb578f50a38a7baddc2784a06f4
parente559681279828000d7e3eb69ec7f463e54820c30
staging: wilc1000: avoid extra buffer copy while connect cfg ops

Refactor the code to avoid the use of an extra buffer to store the
connection related parameter. No need to call cfg80211_disconnected in
case of failure to send the wid command to firmware, an error status is
directly returned in cfg80211 connect callback.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c