]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: move check for ignore_reg_update() on wiphy_update_regulatory()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 22 Jan 2009 23:05:50 +0000 (15:05 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:17 +0000 (16:01 -0500)
commitebff3f4e06fa5c77be3df6cfa93eae3d72ceb94e
tree7774dd44cad9a9b9a73f4830c119271af17ee9b0
parent1f4dbd45acedd488cf0fe0860d9c1650ae55afc9
cfg80211: move check for ignore_reg_update() on wiphy_update_regulatory()

This ensures that the initial REGDOM_SET_BY_CORE upon wiphy registration
respects the wiphy->custom_regulatory setting. Without this and if OLD_REG
is disabled (which will be default soon as we remove it) the
wiphy->custom_regulatory is simply ignored.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c