ath6kl: sme_state shortcut to SME_DISCONNECTED removed
authorDan Kephart <dan.kephart@lairdtech.com>
Sat, 9 Jul 2016 01:04:19 +0000 (21:04 -0400)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 19 Jul 2016 17:56:20 +0000 (20:56 +0300)
commit42e54152e7070f53294fc41d7f12749ba8bf9aab
tree367be2035bccd28037e80b9f2858e30ddea0363f
parent76b817f6c9a901c4d1e7b9e4e4c7b69ce8330353
ath6kl: sme_state shortcut to SME_DISCONNECTED removed

When an NL80211_DISCONNECT is sent to cfg80211, the driver's cfg80211
disconnect function sets the sme_state to SME_DISCONNECTED before receiving
a WMI_DISCONNECT_EVENT from the firmware.  This caused cfg80211 to not know
that the connection is disconnected because the driver fails to notify
cfg80211 upon receiving WMI_DISCONNECT_EVENT from the firmware believing
it is already disconnected.

Signed-off-by: Dan Kephart <dan.kephart@lairdtech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c