aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index d0268280d679..1854c720b5e0 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -2631,7 +2631,7 @@ static int iwl_mac_setup_register(struct iwl_priv *priv)
2631 */ 2631 */
2632 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; 2632 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
2633 2633
2634 hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX; 2634 hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX + 1;
2635 /* we create the 802.11 header and a zero-length SSID element */ 2635 /* we create the 802.11 header and a zero-length SSID element */
2636 hw->wiphy->max_scan_ie_len = IWL_MAX_PROBE_REQUEST - 24 - 2; 2636 hw->wiphy->max_scan_ie_len = IWL_MAX_PROBE_REQUEST - 24 - 2;
2637 2637
@@ -3440,7 +3440,6 @@ static struct ieee80211_ops iwl_hw_ops = {
3440 .set_key = iwl_mac_set_key, 3440 .set_key = iwl_mac_set_key,
3441 .update_tkip_key = iwl_mac_update_tkip_key, 3441 .update_tkip_key = iwl_mac_update_tkip_key,
3442 .get_stats = iwl_mac_get_stats, 3442 .get_stats = iwl_mac_get_stats,
3443 .get_tx_stats = iwl_mac_get_tx_stats,
3444 .conf_tx = iwl_mac_conf_tx, 3443 .conf_tx = iwl_mac_conf_tx,
3445 .reset_tsf = iwl_mac_reset_tsf, 3444 .reset_tsf = iwl_mac_reset_tsf,
3446 .bss_info_changed = iwl_bss_info_changed, 3445 .bss_info_changed = iwl_bss_info_changed,