mac80211: invoke set_tim() callback after setting own TIM info
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 20 Feb 2008 00:36:16 +0000 (01:36 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:26 +0000 (15:37 -0500)
commitd2259243a19894eee06c16e278adfea81dc42bd9
tree0e9b2c27151c6d67f789f71b7bef0bfceafb2a95
parent013b73faff107e56cbe75fe4b881f5d80a8cf022
mac80211: invoke set_tim() callback after setting own TIM info

Drivers should be allowed to simply get a complete new beacon when
set_tim() is invoked (and set_tim() is required for drivers that
just want a beacon template!), so we need to update our own TIM
bitmap before calling set_tim() so that getting the beacon will
now get an already updated beacon.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c
net/mac80211/sta_info.c
net/mac80211/tx.c