]> git.karo-electronics.de Git - linux-beck.git/commit
ath6kl: issue wmi disconnect after notifying cfg80211
authorThomas Pedersen <c_tpeder@qca.qualcomm.com>
Wed, 16 May 2012 20:41:13 +0000 (13:41 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 17 May 2012 06:10:46 +0000 (09:10 +0300)
commit33a6664a6e4b45814ef6e3129842f3fd7e5d1117
tree96b42a9d12c605ab2e371f8436c4f8b0922e8290
parentdd45b7598f1c52933f276ba7ce175fa1305b8ba0
ath6kl: issue wmi disconnect after notifying cfg80211

ath6kl would issue a wmi disconnect command in response to a remote
disconnect and return early without notifying cfg80211, only sending a
cfg80211_disconnected (with reason code always 3) in response to the
second disconnect firmware event.

Pass the right reason code to cfg80211 on the first disconnect instead.

This fixes at least one bug where a p2p client would stop trying to
connect after receiving a stale RSN deauth which was reported to
cfg80211 as GO leaving BSS.

Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c