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

Commit 475fa49c authored by Tomas Winkler's avatar Tomas Winkler Committed by David S. Miller
Browse files

[MAC80211]: PS mode fix



tx.mode must be set also for buffered frames. It is used in the tx hanlders

Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68aae116
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1901,6 +1901,7 @@ ieee80211_get_buffered_bc(struct ieee80211_hw *hw, int if_id,
	}
	sta = tx.sta;
	tx.flags |= IEEE80211_TXRXD_TXPS_BUFFERED;
	tx.u.tx.mode = local->hw.conf.mode;

	for (handler = local->tx_handlers; *handler != NULL; handler++) {
		res = (*handler)(&tx);