* [PATCH 2/2] p54: fix ps-poll delivery in ap mode
@ 2009-04-18 16:30 Christian Lamparter
0 siblings, 0 replies; only message in thread
From: Christian Lamparter @ 2009-04-18 16:30 UTC (permalink / raw)
To: linux-wireless; +Cc: John W. Linville
PS-Polled frames must be sent with OUT_NOCANCEL flag set,
or the firmware will reject all of them, at the station is still blacklisted.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
---
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index 2c98904..62ac751 100644
--- a/drivers/net/wireless/p54/p54common.c
+++ b/drivers/net/wireless/p54/p54common.c
@@ -1533,7 +1533,8 @@ static int p54_tx_fill(struct ieee80211_hw *dev, struct sk_buff *skb,
if (info->control.sta)
*aid = info->control.sta->aid;
- else
+
+ if (info->flags & IEEE80211_TX_CTL_CLEAR_PS_FILT)
*flags |= P54_HDR_FLAG_DATA_OUT_NOCANCEL;
break;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-18 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-18 16:30 [PATCH 2/2] p54: fix ps-poll delivery in ap mode Christian Lamparter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).