diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 29d40746da6a..411a5d2d9148 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2469,8 +2469,8 @@ struct iwl_ssid_ie { | |||
2469 | u8 ssid[32]; | 2469 | u8 ssid[32]; |
2470 | } __attribute__ ((packed)); | 2470 | } __attribute__ ((packed)); |
2471 | 2471 | ||
2472 | #define PROBE_OPTION_MAX_API1 0x4 | 2472 | #define PROBE_OPTION_MAX_3945 4 |
2473 | #define PROBE_OPTION_MAX 0x14 | 2473 | #define PROBE_OPTION_MAX 20 |
2474 | #define TX_CMD_LIFE_TIME_INFINITE cpu_to_le32(0xFFFFFFFF) | 2474 | #define TX_CMD_LIFE_TIME_INFINITE cpu_to_le32(0xFFFFFFFF) |
2475 | #define IWL_GOOD_CRC_TH cpu_to_le16(1) | 2475 | #define IWL_GOOD_CRC_TH cpu_to_le16(1) |
2476 | #define IWL_MAX_SCAN_SIZE 1024 | 2476 | #define IWL_MAX_SCAN_SIZE 1024 |
@@ -2552,7 +2552,7 @@ struct iwl3945_scan_cmd { | |||
2552 | struct iwl3945_tx_cmd tx_cmd; | 2552 | struct iwl3945_tx_cmd tx_cmd; |
2553 | 2553 | ||
2554 | /* For directed active scans (set to all-0s otherwise) */ | 2554 | /* For directed active scans (set to all-0s otherwise) */ |
2555 | struct iwl_ssid_ie direct_scan[PROBE_OPTION_MAX_API1]; | 2555 | struct iwl_ssid_ie direct_scan[PROBE_OPTION_MAX_3945]; |
2556 | 2556 | ||
2557 | /* | 2557 | /* |
2558 | * Probe request frame, followed by channel list. | 2558 | * Probe request frame, followed by channel list. |