]> git.baikalelectronics.ru Git - kernel.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)
commit29f19e0763e99712ad535598762efd4b413ae035
tree4c77499a20bef532622e631df820e7c7e63c9b6f
parentc0c055d69e848a1dea347b56db9c94b6e7691644
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