aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-07-30 21:37:27 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-04 16:44:20 -0400
commit97cad51e191919b43aabdc85b83241b66c3fcf2c (patch)
tree5b933df0270414286e12cb66c6265f0e8349aa83 /drivers/net/wireless/iwlwifi
parent8b19e6ca3bac7e04e93fb73f561d670e77c5fae6 (diff)
iwlwifi: remove usage of orig_flags
This is a private flag, internal to cfg80211. cfg80211 will set orig_* stuff internally upon wiphy registration, drivers do not need to muck with it. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Acked-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index 1b5180f8d75e..6797076bd45f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -548,9 +548,6 @@ int iwlcore_init_geos(struct iwl_priv *priv)
548 geo_ch->flags |= IEEE80211_CHAN_DISABLED; 548 geo_ch->flags |= IEEE80211_CHAN_DISABLED;
549 } 549 }
550 550
551 /* Save flags for reg domain usage */
552 geo_ch->orig_flags = geo_ch->flags;
553
554 IWL_DEBUG_INFO(priv, "Channel %d Freq=%d[%sGHz] %s flag=0x%X\n", 551 IWL_DEBUG_INFO(priv, "Channel %d Freq=%d[%sGHz] %s flag=0x%X\n",
555 ch->channel, geo_ch->center_freq, 552 ch->channel, geo_ch->center_freq,
556 is_channel_a_band(ch) ? "5.2" : "2.4", 553 is_channel_a_band(ch) ? "5.2" : "2.4",