summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2021-06-23 21:48:25 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:15:51 +0200
commit2f001552df5e3e183ed80e1fc60fcbd7698b0904 (patch)
tree6d785c2a80ea17000bd28eb02711046ee2075976 /net/mac80211
parent567001688c862158318557a9bd03b6c077c3392a (diff)
downloadlinux-stable-2f001552df5e3e183ed80e1fc60fcbd7698b0904.tar.gz
linux-stable-2f001552df5e3e183ed80e1fc60fcbd7698b0904.tar.bz2
linux-stable-2f001552df5e3e183ed80e1fc60fcbd7698b0904.zip
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: 41cbb0f5a295 ("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>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/sta_info.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c
index 71c6a462277f..3a907ba7f763 100644
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
@@ -1344,11 +1344,6 @@ static void ieee80211_send_null_response(struct sta_info *sta, int tid,
struct ieee80211_tx_info *info;
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) {
fc = cpu_to_le16(IEEE80211_FTYPE_DATA |
IEEE80211_STYPE_QOS_NULLFUNC |