From: Luis R. Rodriguez Date: Wed, 15 Jul 2009 00:23:15 +0000 (-0400) Subject: cfg80211: treat ieee80211_regdom hints as user hints X-Git-Tag: v2.6.32-rc1~703^2~544^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae9e4b0d1a43fd66da43918491834f9e5c1b6cca;p=pandora-kernel.git cfg80211: treat ieee80211_regdom hints as user hints We were treating ieee80211_regdom module parameter hints as core hints, this means we were not letting the user help compliance further when using the module parameter. It also meant that users with a device with a custom regulatory domain set (wiphy->custom_regulatory) using this module parameter were being stuck to the original default core static regualtory domain. We fix this by using the static cfg80211_regdomain alpha2 as the core hint and treating the module parameter separately. All iwlwifi and ath5k/ath9k/ar9170 devices which world roam set the wiphy->custom_regulatory. This change allows users using this module parameter to have it trated as a a proper user hint and not have it ignored. Signed-off-by: Luis R. Rodriguez Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed