]> git.karo-electronics.de Git - linux-beck.git/commit
ath6kl: Check sme state before delivering disconnect event to cfg80211
authorRaja Mani <rmani@qca.qualcomm.com>
Fri, 12 Aug 2011 12:22:24 +0000 (17:52 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 31 Aug 2011 07:10:53 +0000 (10:10 +0300)
commit0e5cc8e606ed89a4a58260c88474c74348230bed
tree4c77499a20bef532622e631df820e7c7e63c9b6f
parentf91db9bbdae6c86f0178fa03937e39ef82932770
ath6kl: Check sme state before delivering disconnect event to cfg80211

 In some random cases, the firmware is sending two disconnect event to
 the host. In the current model, both diconnect events are passed to
 cfg80211 without checking local sme state machine, which is screwing
 cfg80211 layer state.

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c