iwlwifi: fix queue flush confusion
authorJohannes Berg <johannes.berg@intel.com>
Wed, 31 Oct 2012 21:21:28 +0000 (22:21 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 15:12:24 +0000 (16:12 +0100)
commita4dece9abce75332a082340bcc9b176f10484a62
tree72a33b697d8e998ddd3013dcb27a1273fdcb29cf
parent2eb81a40aa521035ff9c8c8309e482dff523f8c9
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>
drivers/net/wireless/iwlwifi/dvm/agn.h
drivers/net/wireless/iwlwifi/dvm/commands.h
drivers/net/wireless/iwlwifi/dvm/debugfs.c
drivers/net/wireless/iwlwifi/dvm/lib.c
drivers/net/wireless/iwlwifi/dvm/mac80211.c
drivers/net/wireless/iwlwifi/dvm/main.c