wl12xx: configure channel/band while FW is off
authorArik Nemtsov <arik@wizery.com>
Tue, 22 Mar 2011 08:07:47 +0000 (10:07 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 19 Apr 2011 13:49:13 +0000 (16:49 +0300)
commit17e672d6e4b5a8a3f330a70dfd58d25a2cb497b5
tree2b1e0a871efb2ef0d3c45f5e82a4496bbb24bc5f
parent4a31c11c7d8c482598754a577a8fb71abb61ffa0
wl12xx: configure channel/band while FW is off

Initialize the channel and band from mac80211 conf even when the FW is
not yet loaded. This mitigates a bug in AP-mode where the channel was
never changed from its initial setting after FW boot and was therefore
never configured to FW.

Reported-by: Alexander Boukaty <alexanderb@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c