diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-04-18 12:30:13 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:16 -0400 |
commit | d577e7cdb1be027bc51ee1030bc7fd647ea6d0da (patch) | |
tree | 8a3c670279b75e17e58e79a7ad91fcde80ce1e90 /drivers/net/wireless | |
parent | a027087a6b4c7d985b872cac3e19ce023670792e (diff) |
p54: fix ps-poll delivery in ap mode
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/p54/p54common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index 5368aa33dab8..71394968d450 100644 --- a/drivers/net/wireless/p54/p54common.c +++ b/drivers/net/wireless/p54/p54common.c | |||
@@ -1473,7 +1473,8 @@ static int p54_tx_fill(struct ieee80211_hw *dev, struct sk_buff *skb, | |||
1473 | 1473 | ||
1474 | if (info->control.sta) | 1474 | if (info->control.sta) |
1475 | *aid = info->control.sta->aid; | 1475 | *aid = info->control.sta->aid; |
1476 | else | 1476 | |
1477 | if (info->flags & IEEE80211_TX_CTL_CLEAR_PS_FILT) | ||
1477 | *flags |= P54_HDR_FLAG_DATA_OUT_NOCANCEL; | 1478 | *flags |= P54_HDR_FLAG_DATA_OUT_NOCANCEL; |
1478 | break; | 1479 | break; |
1479 | } | 1480 | } |