Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121759
b: refs/heads/master
c: 4607816
h: refs/heads/master
i:
  121757: 012c550
  121755: 029cc68
  121751: 79419fe
  121743: 7e188be
  121727: 6f314d0
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Nov 10, 2008
1 parent 73c900d commit 3014c54
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 29 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a57a59f247b651e8ed6d3eeb7e2f9d83b83134c9
refs/heads/master: 4607816f608b42a5379aca97ceed08378804c99f
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-3945.h
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,6 @@ struct iwl3945_priv {
unsigned long last_statistics_time;

/* context information */
u8 essid[IW_ESSID_MAX_SIZE];
u8 essid_len;
u16 rates_mask;

u32 power_mode;
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -2937,7 +2937,6 @@ static int iwl4965_mac_config_interface(struct ieee80211_hw *hw,
struct ieee80211_if_conf *conf)
{
struct iwl_priv *priv = hw->priv;
unsigned long flags;
int rc;

if (conf == NULL)
Expand Down Expand Up @@ -3031,15 +3030,6 @@ static int iwl4965_mac_config_interface(struct ieee80211_hw *hw,
}

done:
spin_lock_irqsave(&priv->lock, flags);
if (!conf->ssid_len)
memset(priv->essid, 0, IW_ESSID_MAX_SIZE);
else
memcpy(priv->essid, conf->ssid, conf->ssid_len);

priv->essid_len = conf->ssid_len;
spin_unlock_irqrestore(&priv->lock, flags);

IWL_DEBUG_MAC80211("leave\n");
mutex_unlock(&priv->mutex);

Expand Down Expand Up @@ -3082,8 +3072,6 @@ static void iwl4965_mac_remove_interface(struct ieee80211_hw *hw,
if (priv->vif == conf->vif) {
priv->vif = NULL;
memset(priv->bssid, 0, ETH_ALEN);
memset(priv->essid, 0, IW_ESSID_MAX_SIZE);
priv->essid_len = 0;
}
mutex_unlock(&priv->mutex);

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -926,8 +926,6 @@ struct iwl_priv {
unsigned long last_statistics_time;

/* context information */
u8 essid[IW_ESSID_MAX_SIZE];
u8 essid_len;
u16 rates_mask;

u32 power_mode;
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -6720,7 +6720,6 @@ static int iwl3945_mac_config_interface(struct ieee80211_hw *hw,
struct ieee80211_if_conf *conf)
{
struct iwl3945_priv *priv = hw->priv;
unsigned long flags;
int rc;

if (conf == NULL)
Expand Down Expand Up @@ -6817,15 +6816,6 @@ static int iwl3945_mac_config_interface(struct ieee80211_hw *hw,
}

done:
spin_lock_irqsave(&priv->lock, flags);
if (!conf->ssid_len)
memset(priv->essid, 0, IW_ESSID_MAX_SIZE);
else
memcpy(priv->essid, conf->ssid, conf->ssid_len);

priv->essid_len = conf->ssid_len;
spin_unlock_irqrestore(&priv->lock, flags);

IWL_DEBUG_MAC80211("leave\n");
mutex_unlock(&priv->mutex);

Expand Down Expand Up @@ -6868,8 +6858,6 @@ static void iwl3945_mac_remove_interface(struct ieee80211_hw *hw,
if (priv->vif == conf->vif) {
priv->vif = NULL;
memset(priv->bssid, 0, ETH_ALEN);
memset(priv->essid, 0, IW_ESSID_MAX_SIZE);
priv->essid_len = 0;
}
mutex_unlock(&priv->mutex);

Expand Down

0 comments on commit 3014c54

Please sign in to comment.