]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: fix beacon_int handling
authorJiri Slaby <jirislaby@gmail.com>
Thu, 18 Jun 2009 23:06:45 +0000 (01:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Jun 2009 15:50:23 +0000 (11:50 -0400)
commit1e6f8318c36eff219dbc4aeb8a7e530f2e7b5bf8
tree80d368d13516a5f285c5a4dadb9fd8f21abb2ec6
parent30464c1a01ab7c5d746ef0266426c2c34dcbe9f1
ath5k: fix beacon_int handling

3d5e731bceab2de11ae8ec5ed47aa84f049d5a84
(ath5k: remove conf->beacon_int usage)
removed bintval setting from ath5k_config. We need to init the
interval earlier and don't touch it in add_interface anymore.

Otherwise it will be set only once by upper layer through
bss_info_changed but not on second and further hostap executions.

We ended up having bintval 1000 which rendered the AP useless on
many clients.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
Cc: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c