mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 23:36:23 +09:00
mac80211: remove iwlwifi specific workaround NDPs of null_response
[ Upstream commit 744757e46bf13ec3a7b3507d17ab3faab9516d43 ]
Remove the remaining workaround that is not removed by the
commit e41eb3e408de ("mac80211: remove iwlwifi specific workaround
that broke sta NDP tx")
Fixes: 41cbb0f5a2
("mac80211: add support for HE")
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://lore.kernel.org/r/20210623134826.10318-1-pkshih@realtek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
cb72c23aa5
commit
946bd84826
|
@ -1395,11 +1395,6 @@ static void ieee80211_send_null_response(struct sta_info *sta, int tid,
|
||||||
struct ieee80211_tx_info *info;
|
struct ieee80211_tx_info *info;
|
||||||
struct ieee80211_chanctx_conf *chanctx_conf;
|
struct ieee80211_chanctx_conf *chanctx_conf;
|
||||||
|
|
||||||
/* Don't send NDPs when STA is connected HE */
|
|
||||||
if (sdata->vif.type == NL80211_IFTYPE_STATION &&
|
|
||||||
!(sdata->u.mgd.flags & IEEE80211_STA_DISABLE_HE))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (qos) {
|
if (qos) {
|
||||||
fc = cpu_to_le16(IEEE80211_FTYPE_DATA |
|
fc = cpu_to_le16(IEEE80211_FTYPE_DATA |
|
||||||
IEEE80211_STYPE_QOS_NULLFUNC |
|
IEEE80211_STYPE_QOS_NULLFUNC |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user