]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: enable beacon filtering only after receiving a beacon
authorEliad Peller <eliad@wizery.com>
Mon, 10 Feb 2014 11:47:33 +0000 (13:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Feb 2014 20:20:16 +0000 (15:20 -0500)
commit4594813b0a4d2891a019e8e186cdedb31d0adcf4
treedc8dd2a60da120f53f9fc4c7862307aa2b1a3ca4
parentb61d9e8a8b0ff0732d8f7cf0d1e3182600786a4d
wlcore: enable beacon filtering only after receiving a beacon

Enabling beacon filtering before receving a beacon
might result in not having a beacon at all for the
current connected AP, which prevents the station
from entering power-save.

Replace the current approach (of starting beacon
filtering on init) and configure beacon filering
only after bss_conf->dtimper is set (which means
mac80211 already parsed a beacon).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wlcore/acx.c
drivers/net/wireless/ti/wlcore/init.c
drivers/net/wireless/ti/wlcore/main.c