diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 7f95f9019093..11785e2c767a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -1956,16 +1956,6 @@ static int iwl3945_commit_rxon(struct iwl_priv *priv) | |||
1956 | return rc; | 1956 | return rc; |
1957 | } | 1957 | } |
1958 | 1958 | ||
1959 | /* If we have set the ASSOC_MSK and we are in BSS mode then | ||
1960 | * add the IWL_AP_ID to the station rate table */ | ||
1961 | if (iwl_is_associated(priv) && | ||
1962 | (priv->iw_mode == NL80211_IFTYPE_STATION)) | ||
1963 | if (iwl_add_station(priv, priv->active_rxon.bssid_addr, | ||
1964 | true, CMD_SYNC, NULL) == IWL_INVALID_STATION) { | ||
1965 | IWL_ERR(priv, "Error adding AP address for transmit\n"); | ||
1966 | return -EIO; | ||
1967 | } | ||
1968 | |||
1969 | /* Init the hardware's rate fallback order based on the band */ | 1959 | /* Init the hardware's rate fallback order based on the band */ |
1970 | rc = iwl3945_init_hw_rate_table(priv); | 1960 | rc = iwl3945_init_hw_rate_table(priv); |
1971 | if (rc) { | 1961 | if (rc) { |