]> git.karo-electronics.de Git - linux-beck.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)
commitd881fa2c5032918e2b03ce6e12a5886f08acb459
treedc8dd2a60da120f53f9fc4c7862307aa2b1a3ca4
parent5b07d97a381508dfc79bda72778ac27c1bdba320
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