From: Luis R. Rodriguez Date: Thu, 22 Jan 2009 23:05:50 +0000 (-0800) Subject: cfg80211: move check for ignore_reg_update() on wiphy_update_regulatory() X-Git-Tag: v2.6.30-rc1~662^2~836^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d46e5b1d0c617a2a46353812d7f02115c17b5e72;p=pandora-kernel.git 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 Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed