wl12xx: configure the correct beacon_interval
authorEliad Peller <eliad@wizery.com>
Sun, 4 Mar 2012 08:55:53 +0000 (10:55 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 5 Mar 2012 13:45:26 +0000 (15:45 +0200)
commit6667776d3cf32dd3809a18917c2b7adb8ef12aa2
tree68679c4599236b58802d8df978c370842619fd87
parent97fd311a2615d8f35e796b11a14b6cf3d335d423
wl12xx: configure the correct beacon_interval

We didn't update the beacon interval on association
(or on a change notification when working as sta),
so the default interval (100ms) was always used.

Update the beacon interval according to the bss_conf
before starting the sta role (on association).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c