]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: only call ieee80211_beacon_loss in managed mode
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 22 Apr 2014 00:09:55 +0000 (03:09 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2014 19:56:27 +0000 (15:56 -0400)
commit43326b2b5c1e9453987c587419498c2dc05bfcaa
tree4fdceba4fe1c07ba2d2abee86d24b4b2f4636f51
parent2d26c5aeef728b69c1a2aed3218f52491833aeb2
wl1251: only call ieee80211_beacon_loss in managed mode

ieee80211_beacon_loss() is only to be called in managed mode,
but the firmware may send the sync timeout event at any time,
so do a check before calling.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl1251/event.c