]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Fix disconnect event reporting
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 23 Sep 2011 05:27:50 +0000 (10:57 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 23 Sep 2011 07:47:14 +0000 (10:47 +0300)
commit7e4746b6dc837d13c4131f77a87c59ba35251743
treedfc5646115649445d34cf44d99a376beb839ca53
parenta834ffc2544aca75cabf40017eb01c26a5056a07
ath6kl: Fix disconnect event reporting

Driver does not report disconnect event properly when in connecting state,
this leads to issues failures in starting reconnection. Send a disconnect
command to target when a disconnect event is received with reason code
other than 3 (DISCONNECT_CMD - disconnect request from host) to make the
frimware stop trying to connect even after giving disconnect event. There
will be one more disconnect event for this disconnect command with reason
code DISCONNECT_CMD which will be notified to cfg80211.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c