]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: make regulatory_hint() remove REGULATORY_CUSTOM_REG
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sat, 14 Dec 2013 19:09:06 +0000 (20:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 13 Jan 2014 19:46:58 +0000 (14:46 -0500)
commit21c2c07dfe935e9eac48c0efb7a71740cfdb76a8
treed111dd2ecec10bddc417f77b3f75203fd064acb0
parentbb5c57b0134a41592c464940e9f2a3aaeac8e952
cfg80211: make regulatory_hint() remove REGULATORY_CUSTOM_REG

The REGULATORY_CUSTOM_REG can be used during early init with
the goal of overriding the wiphy's default regulatory settings
in case the alpha2 of the device is not known. In the case that
the alpha2 becomes known lets avoid having drivers having to
clear the REGULATORY_CUSTOM_REG flag by doing it for them
when regulatory_hint() is used.

Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/regd.c
include/net/regulatory.h
net/wireless/reg.c