staging: wilc1000: avoid deferred handling of cfg80211 disconnect callback
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:03:28 +0000 (18:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:49:45 +0000 (09:49 +0100)
commit8e6d6cf0f2c980533f4c54550c81f627543508be
tree91ea70bc8e69299ac798bbd091c978e99bd0e606
parent19cb25e1e6a9061e9614e04d477419fc70b81290
staging: wilc1000: avoid deferred handling of cfg80211 disconnect callback

Refactor disconnect operation callback to handle from the cfg80211
context. The reason code is not required to pass as parameter to the
function, so remove it.

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