]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wireless/iwlwifi/iwl-core.c
iwlwifi: rework broadcast station management
[net-next-2.6.git] / drivers / net / wireless / iwlwifi / iwl-core.c
index d7a36205f0e1dfc7a1ef3b6a604240edb342c253..f007b36ec54e8a014e8818f6c776aacd68d2f6f6 100644 (file)
@@ -2042,11 +2042,6 @@ int iwl_mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
        if (err)
                goto out_err;
 
-       /* Add the broadcast address so we can send broadcast frames */
-       err = priv->cfg->ops->lib->add_bcast_station(priv);
-       if (err)
-               goto out_err;
-
        goto out;
 
  out_err:
@@ -2069,8 +2064,6 @@ void iwl_mac_remove_interface(struct ieee80211_hw *hw,
 
        mutex_lock(&priv->mutex);
 
-       iwl_clear_ucode_stations(priv, true);
-
        if (iwl_is_ready_rf(priv)) {
                iwl_scan_cancel_timeout(priv, 100);
                priv->staging_rxon.filter_flags &= ~RXON_FILTER_ASSOC_MSK;