From: Christian Lamparter Date: Sat, 18 Apr 2009 16:30:13 +0000 (+0200) Subject: p54: fix ps-poll delivery in ap mode X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d577e7cdb1be027bc51ee1030bc7fd647ea6d0da;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: John W. Linville --- 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, 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; }