diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 9330dfaff132..69fda64c6503 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -6321,10 +6321,7 @@ static void iwl3945_post_associate(struct iwl3945_priv *priv) | |||
6321 | 6321 | ||
6322 | case NL80211_IFTYPE_ADHOC: | 6322 | case NL80211_IFTYPE_ADHOC: |
6323 | 6323 | ||
6324 | /* clear out the station table */ | 6324 | priv->assoc_id = 1; |
6325 | iwl3945_clear_stations_table(priv); | ||
6326 | |||
6327 | iwl3945_add_station(priv, iwl3945_broadcast_addr, 0, 0); | ||
6328 | iwl3945_add_station(priv, priv->bssid, 0, 0); | 6325 | iwl3945_add_station(priv, priv->bssid, 0, 0); |
6329 | iwl3945_sync_sta(priv, IWL_STA_ID, | 6326 | iwl3945_sync_sta(priv, IWL_STA_ID, |
6330 | (priv->band == IEEE80211_BAND_5GHZ) ? | 6327 | (priv->band == IEEE80211_BAND_5GHZ) ? |