diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-10-31 20:49:32 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-05 15:59:58 +0100 |
commit | 37c477dc1c6cad4a36049a9a10e4aa3dbf450c0f (patch) | |
tree | a837e648d7789da581d15515a1de04d4612f3d91 /drivers/net/wireless/iwlwifi/dvm/commands.h | |
parent | iwlwifi: don't call stop_device twice (diff) | |
download | linux-37c477dc1c6cad4a36049a9a10e4aa3dbf450c0f.tar.xz linux-37c477dc1c6cad4a36049a9a10e4aa3dbf450c0f.zip |
iwlwifi: fix flush command
The flush command really flushes queues, not
FIFOs, and the first 32 bits indicate the
queues to flush, not FIFOs. Change the command
accordingly.
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/commands.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/commands.h b/drivers/net/wireless/iwlwifi/dvm/commands.h index 01128c96b5d8..ac24861f04ad 100644 --- a/drivers/net/wireless/iwlwifi/dvm/commands.h +++ b/drivers/net/wireless/iwlwifi/dvm/commands.h @@ -1004,14 +1004,14 @@ struct iwl_rem_sta_cmd { * the flush operation ends when both the scheduler DMA done and TXFIFO empty * are set. * - * @fifo_control: bit mask for which queues to flush + * @queue_control: bit mask for which queues to flush * @flush_control: flush controls * 0: Dump single MSDU * 1: Dump multiple MSDU according to PS, INVALID STA, TTL, TID disable. * 2: Dump all FIFO */ struct iwl_txfifo_flush_cmd { - __le32 fifo_control; + __le32 queue_control; __le16 flush_control; __le16 reserved; } __packed; |