Skip to contentSkip to conversation

p54: fix ps-poll delivery in ap mode

PATCH Superseded Christian Lamparter 1 participant 1 message Apr 18, 2009 Networking drivers (wireless)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 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.

---

drivers/net/wireless/p54/p54common.c +2 -1
index 2c98904..62ac751 100644
@@ -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;
 	}