]> git.baikalelectronics.ru Git - kernel.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)
commitd7a9951b796ec47fa69b11c27acbc4e992350e53
tree96b42a9d12c605ab2e371f8436c4f8b0922e8290
parentbc3bdcbea5e7a4228aca80afefc9037ec3cb935b
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