]> git.karo-electronics.de Git - linux-beck.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)
commitd46e5b1d0c617a2a46353812d7f02115c17b5e72
tree7774dd44cad9a9b9a73f4830c119271af17ee9b0
parent2a44f911d8bac3e6c97a25cc612e4324dfbdfdc4
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