]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: Fix initial beacon timer configuration
authorJouni Malinen <j@w1.fi>
Sat, 26 Sep 2009 19:30:15 +0000 (22:30 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Sep 2009 21:25:16 +0000 (17:25 -0400)
commit4fb4d5d1c9637a7f325fd372c9f06ee7f18bc3d4
treea9c362b849064003def58184b26194f7ff30aeaf
parent4c8b85ed25ab9228bafd861738063984431c8fa1
mac80211_hwsim: Fix initial beacon timer configuration

mac80211_hwsim does not start transmitting Beacon frames when hostapd
is started for the first time and restarting hostapd fixes this. The
issue is caused by the config() handler not being able to start
beacon_timer when beacon interval is not yet known and
bss_info_changed() handler not starting the timer. This can be fixed by
making the bss_info_changed() update the timer.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c