]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: set IEEE80211_TX_CTRL_PORT_CTRL_PROTO for nl80211 TX
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Mar 2020 14:53:34 +0000 (15:53 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 26 Mar 2020 14:54:12 +0000 (15:54 +0100)
commitb57d5a35b3b992f8e980e3f7375aebce82c8071c
treee0995a607a6671c12f7a332081d4186cfeb95446
parent71e8b6ab7a29a92f994260fbc585c402c763fd85
mac80211: set IEEE80211_TX_CTRL_PORT_CTRL_PROTO for nl80211 TX

When a frame is transmitted via the nl80211 TX rather than as a
normal frame, IEEE80211_TX_CTRL_PORT_CTRL_PROTO wasn't set and
this will lead to wrong decisions (rate control etc.) being made
about the frame; fix this.

Fixes: d71709665732 ("mac80211: Add support for tx_control_port")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200326155333.f183f52b02f0.I4054e2a8c11c2ddcb795a0103c87be3538690243@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c