summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wl18xx/main.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2013-09-17 18:41:27 +0300
committerLuciano Coelho <luciano.coelho@intel.com>2013-09-30 21:12:21 +0300
commit49540d1b8155b5ded98e6b77c5c92b11854c3de7 (patch)
treed8256744f10078c6ae9714130584c2aafacf23e8 /drivers/net/wireless/ti/wl18xx/main.c
parent7ca38a98ca4b1c5e0d243a712d9eb84afdfe2747 (diff)
downloadop-kernel-dev-49540d1b8155b5ded98e6b77c5c92b11854c3de7.zip
op-kernel-dev-49540d1b8155b5ded98e6b77c5c92b11854c3de7.tar.gz
wlcore: clarify and fix regulatory domain bit translation
Channels 52-64 were mapped incorrectly. Refactor and document wlcore_get_reg_conf_ch_idx() in order to make it clear what's going on there. While on it, fix the return value check to consider 0 as a valid return value as well (indicates channel 1). Reported-by: Yaniv Machani <yanivma@ti.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Ido Reis <idor@ti.com> Signed-off-by: Victor Goldenshtein <victorg@ti.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud