aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2010-06-25 17:47:02 -0400
committerReinette Chatre <reinette.chatre@intel.com>2010-06-25 17:47:02 -0400
commite691e19e05c2cef72cd7f81bcae4195c81d4bf51 (patch)
treee5a231ecfb36f4fa335b64f1300ce9f831678eee /drivers/net/wireless/iwlwifi
parent47399f1a7d2059c89df7a1116024d0cd9bc240fa (diff)
parent062bee448bd539580ef9f64efe50fdfe04eeb103 (diff)
Merge branch 'wireless-2.6' into wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c6
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c7
2 files changed, 7 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
index 3f765ba15cb..d89a11c6558 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
@@ -214,11 +214,7 @@ static void iwlagn_chain_noise_reset(struct iwl_priv *priv)
214static void iwlagn_rts_tx_cmd_flag(struct ieee80211_tx_info *info, 214static void iwlagn_rts_tx_cmd_flag(struct ieee80211_tx_info *info,
215 __le32 *tx_flags) 215 __le32 *tx_flags)
216{ 216{
217 if ((info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || 217 *tx_flags |= TX_CMD_FLG_RTS_CTS_MSK;
218 (info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT))
219 *tx_flags |= TX_CMD_FLG_RTS_CTS_MSK;
220 else
221 *tx_flags &= ~TX_CMD_FLG_RTS_CTS_MSK;
222} 218}
223 219
224/* Calc max signal level (dBm) among 3 possible receivers */ 220/* Calc max signal level (dBm) among 3 possible receivers */
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index 62c50bc0089..329e5107b5c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -1331,7 +1331,6 @@ void iwl_configure_filter(struct ieee80211_hw *hw,
1331 changed_flags, *total_flags); 1331 changed_flags, *total_flags);
1332 1332
1333 CHK(FIF_OTHER_BSS | FIF_PROMISC_IN_BSS, RXON_FILTER_PROMISC_MSK); 1333 CHK(FIF_OTHER_BSS | FIF_PROMISC_IN_BSS, RXON_FILTER_PROMISC_MSK);
1334 CHK(FIF_ALLMULTI, RXON_FILTER_ACCEPT_GRP_MSK);
1335 CHK(FIF_CONTROL, RXON_FILTER_CTL2HOST_MSK); 1334 CHK(FIF_CONTROL, RXON_FILTER_CTL2HOST_MSK);
1336 CHK(FIF_BCN_PRBRESP_PROMISC, RXON_FILTER_BCON_AWARE_MSK); 1335 CHK(FIF_BCN_PRBRESP_PROMISC, RXON_FILTER_BCON_AWARE_MSK);
1337 1336
@@ -1346,6 +1345,12 @@ void iwl_configure_filter(struct ieee80211_hw *hw,
1346 1345
1347 mutex_unlock(&priv->mutex); 1346 mutex_unlock(&priv->mutex);
1348 1347
1348 /*
1349 * Receiving all multicast frames is always enabled by the
1350 * default flags setup in iwl_connection_init_rx_config()
1351 * since we currently do not support programming multicast
1352 * filters into the device.
1353 */
1349 *total_flags &= FIF_OTHER_BSS | FIF_ALLMULTI | FIF_PROMISC_IN_BSS | 1354 *total_flags &= FIF_OTHER_BSS | FIF_ALLMULTI | FIF_PROMISC_IN_BSS |
1350 FIF_BCN_PRBRESP_PROMISC | FIF_CONTROL; 1355 FIF_BCN_PRBRESP_PROMISC | FIF_CONTROL;
1351} 1356}