]> git.openfabrics.org - ~emulex/infiniband.git/commit
wlcore: restore default channel configuration
authorVictor Goldenshtein <victorg@ti.com>
Tue, 27 Nov 2012 06:44:55 +0000 (08:44 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 5 Dec 2012 07:42:35 +0000 (09:42 +0200)
commit583f81644ab34a1314827a1dffc7fc8fbad7dc0f
tree996b5e347030b614582d7c4626431feb7866d43a
parent6c4c45346289ec1c8a6a204e2c81325a4cf96924
wlcore: restore default channel configuration

wlcore allocates two static structs wl1271_band_2ghz & wl1271_band_5ghz
which are used/modified by Reg-Domain e.g. some channel might be marked
as passive at some point. Make sure we don't keep stale settings around
if the HW is unregistered/registered during operation.

[Arik - use Tx-power constant and tweak commit message]

Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wlcore.h