diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-10-31 17:21:28 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-05 10:12:24 -0500 |
commit | a4dece9abce75332a082340bcc9b176f10484a62 (patch) | |
tree | 72a33b697d8e998ddd3013dcb27a1273fdcb29cf /drivers/net/wireless/iwlwifi/dvm/debugfs.c | |
parent | 2eb81a40aa521035ff9c8c8309e482dff523f8c9 (diff) |
iwlwifi: fix queue flush confusion
The flush_control parameter to iwlagn_txfifo_flush
is passed as an internal value (context flags) and
then sent to the device, that can't be right.
Fix the confusion by removing the parameter, always
use IWL_DROP_ALL that is redefined according to the
firmware API in the flush control.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
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/debugfs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/debugfs.c b/drivers/net/wireless/iwlwifi/dvm/debugfs.c index 1a98fa3ab06d..769a08bca86f 100644 --- a/drivers/net/wireless/iwlwifi/dvm/debugfs.c +++ b/drivers/net/wireless/iwlwifi/dvm/debugfs.c | |||
@@ -2101,7 +2101,7 @@ static ssize_t iwl_dbgfs_txfifo_flush_write(struct file *file, | |||
2101 | if (iwl_is_rfkill(priv)) | 2101 | if (iwl_is_rfkill(priv)) |
2102 | return -EFAULT; | 2102 | return -EFAULT; |
2103 | 2103 | ||
2104 | iwlagn_dev_txfifo_flush(priv, IWL_DROP_ALL); | 2104 | iwlagn_dev_txfifo_flush(priv); |
2105 | 2105 | ||
2106 | return count; | 2106 | return count; |
2107 | } | 2107 | } |