aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-04 06:18:21 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-11-09 16:13:54 -0500
commite247bd9068e3e86c3571147c128883596ace9d05 (patch)
tree5639065f2b0bfe4cb7389a75e274bc8a53efd75f /drivers/net
parente7f4a940bb5eecd07cf0039e7d9201badc332ae0 (diff)
cfg80211/mac80211: allow management TX to not wait for ACK
For probe responses it can be useful to not wait for ACK to avoid retransmissions if the station that sent the probe is already on the next channel, so allow userspace to request not caring about the ACK with a new nl80211 flag. Since mac80211 needs to be updated for the new function prototype anyway implement it right away -- it's just a few lines of code. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 3aff36bad5d..daf444bf8d4 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -1732,7 +1732,8 @@ static int ath6kl_mgmt_tx(struct wiphy *wiphy, struct net_device *dev,
1732 struct ieee80211_channel *chan, bool offchan, 1732 struct ieee80211_channel *chan, bool offchan,
1733 enum nl80211_channel_type channel_type, 1733 enum nl80211_channel_type channel_type,
1734 bool channel_type_valid, unsigned int wait, 1734 bool channel_type_valid, unsigned int wait,
1735 const u8 *buf, size_t len, bool no_cck, u64 *cookie) 1735 const u8 *buf, size_t len, bool no_cck,
1736 bool dont_wait_for_ack, u64 *cookie)
1736{ 1737{
1737 struct ath6kl *ar = ath6kl_priv(dev); 1738 struct ath6kl *ar = ath6kl_priv(dev);
1738 u32 id; 1739 u32 id;