linux/drivers/net/wireless/ti
Eliad Peller 49540d1b81 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>
2013-09-30 21:12:21 +03:00
..
wl12xx wireless: wl12xx: use dev_get_platdata() 2013-09-26 15:13:41 -04:00
wl18xx wl18xx: use locally administered MAC address if not available from fuse 2013-06-17 12:03:41 +03:00
wl1251 wireless: wl1251: use dev_get_platdata() 2013-09-26 15:13:40 -04:00
wlcore wlcore: clarify and fix regulatory domain bit translation 2013-09-30 21:12:21 +03:00
Kconfig wlcore: move wl12xx_platform_data up and make it truly optional 2013-02-08 10:05:02 +02:00
Makefile wlcore: move wl12xx_platform_data up and make it truly optional 2013-02-08 10:05:02 +02:00
wilink_platform_data.c wlcore: move wl12xx_platform_data up and make it truly optional 2013-02-08 10:05:02 +02:00