|
@@ -2498,8 +2498,7 @@ static void iwl3945_alive_start(struct iwl_priv *priv)
|
|
struct iwl3945_rxon_cmd *active_rxon =
|
|
struct iwl3945_rxon_cmd *active_rxon =
|
|
(struct iwl3945_rxon_cmd *)(&priv->active_rxon);
|
|
(struct iwl3945_rxon_cmd *)(&priv->active_rxon);
|
|
|
|
|
|
- memcpy(&priv->staging_rxon, &priv->active_rxon,
|
|
|
|
- sizeof(priv->staging_rxon));
|
|
|
|
|
|
+ priv->staging_rxon.filter_flags |= RXON_FILTER_ASSOC_MSK;
|
|
active_rxon->filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
active_rxon->filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
} else {
|
|
} else {
|
|
/* Initialize our rx_config data */
|
|
/* Initialize our rx_config data */
|
|
@@ -3147,7 +3146,6 @@ static int iwl3945_mac_start(struct ieee80211_hw *hw)
|
|
/* we should be verifying the device is ready to be opened */
|
|
/* we should be verifying the device is ready to be opened */
|
|
mutex_lock(&priv->mutex);
|
|
mutex_lock(&priv->mutex);
|
|
|
|
|
|
- memset(&priv->staging_rxon, 0, sizeof(priv->staging_rxon));
|
|
|
|
/* fetch ucode file from disk, alloc and copy to bus-master buffers ...
|
|
/* fetch ucode file from disk, alloc and copy to bus-master buffers ...
|
|
* ucode filename and max sizes are card-specific. */
|
|
* ucode filename and max sizes are card-specific. */
|
|
|
|
|