2009-07-31 01:37:28

by Luis R. Rodriguez

[permalink] [raw]
Subject: [PATCH] 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.

Cc: Reinette Chatre <[email protected]>
Signed-off-by: Luis R. Rodriguez <[email protected]>
---
drivers/net/wireless/iwlwifi/iwl-core.c | 3 ---
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 071c05b..a31bdc1 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)
geo_ch->flags |= IEEE80211_CHAN_DISABLED;
}

- /* Save flags for reg domain usage */
- geo_ch->orig_flags = geo_ch->flags;
-
IWL_DEBUG_INFO(priv, "Channel %d Freq=%d[%sGHz] %s flag=0x%X\n",
ch->channel, geo_ch->center_freq,
is_channel_a_band(ch) ? "5.2" : "2.4",
--
1.6.3.3



2009-07-31 05:46:52

by Reinette Chatre

[permalink] [raw]
Subject: Re: [PATCH] iwlwifi: remove usage of orig_flags

On Thu, 2009-07-30 at 18:37 -0700, Luis R. Rodriguez wrote:
> 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.
>
> Cc: Reinette Chatre <[email protected]>
> Signed-off-by: Luis R. Rodriguez <[email protected]>
> ---

Acked-by: Reinette Chatre <[email protected]>

Thank you

Reinette