]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: wilc1000: adds a cfg80211_disconnected() function
authorLeo Kim <leo.kim@atmel.com>
Fri, 1 Apr 2016 08:44:18 +0000 (17:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:58:42 +0000 (21:58 -0700)
commit8006109ba0f9b85407ce41c86e7a9a059d08b90c
tree5bc3648c65a84fa4c09dc5fa9f1bf00a0921abe9
parent3f626cf4a8445015296bb2cc2c98aa9ed619d7cc
staging: wilc1000: adds a cfg80211_disconnected() function

This patch is adds a cfg80211_disconnected() when connection is lost already.
We was find this situation while test the 'rmmod sdio'.
SDIO remove function are include both remove mac_close and unregister net_device.
That is received one more a disconnect cmd from cfg80211.
Driver was already performed disconnect.
If wilc->close value was set to true, adds a call to cfg80211_disconnected().

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c