Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d577e7cd authored by Christian Lamparter's avatar Christian Lamparter Committed by John W. Linville
Browse files

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: default avatarChristian Lamparter <chunkeey@web.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a027087a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
	}