iwl3945: use iwl3945_add_bcast_station
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Apr 2010 15:44:50 +0000 (08:44 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 22:08:52 +0000 (15:08 -0700)
iwl3945 should not use iwl_add_local_station(..., false)
because that would leave the IWL_STA_UCODE_INPROGRESS flag
set for the station, which is not desirable. Instead it
can use iwl3945_add_bcast_station() here.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c

index 04cedef0b006ecf9341fcb583cfd96506eab9300..4f20cca06fb09baff371a092846b50862da10e7e 100644 (file)
@@ -3293,7 +3293,7 @@ void iwl3945_config_ap(struct iwl_priv *priv)
                /* restore RXON assoc */
                priv->staging_rxon.filter_flags |= RXON_FILTER_ASSOC_MSK;
                iwlcore_commit_rxon(priv);
-               iwl_add_local_station(priv, iwl_bcast_addr, false);
+               iwl3945_add_bcast_station(priv);
        }
        iwl3945_send_beacon_cmd(priv);