diff options
author | Shenwei Wang <shenwei.wang@freescale.com> | 2015-02-16 10:27:37 -0600 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-04-14 14:02:31 -0500 |
commit | ba6cfa16706c8716a9c2a876633434196c0bcaaa (patch) | |
tree | a980542698b5e813ca8716c47ecc035c411539b6 /drivers/net | |
parent | 7e953446a594e72ef4a8e7da26e1aad43d1ee77e (diff) |
MLK-10210 WIFI: ath6kl: Fixed the issue that warning messages were printed when uninstalling ath6kl_sdio after iperf test.
When handing the command "ifconfig wlan0 down", the driver handler did
not notify the disconnected event to the upper layer stack cfg80211,
which would cause the relating resources unable to be released. A
notification of disconnet event to cfg80211 was added when the driver
was changed to the disconnect state.
Signed-off-by: Shenwei Wang <shenwei.wang@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/cfg80211.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c index fd4c89df67e1..56d9bed4b069 100644 --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c @@ -845,6 +845,7 @@ static int ath6kl_cfg80211_disconnect(struct wiphy *wiphy, up(&ar->sem); vif->sme_state = SME_DISCONNECTED; + cfg80211_disconnected(vif->ndev, 0, NULL, 0, GFP_KERNEL); return 0; } |