Skip to content

Commit

Permalink
mac80211: remove iwlwifi specific workaround NDPs of null_response
Browse files Browse the repository at this point in the history
[ Upstream commit 744757e ]

Remove the remaining workaround that is not removed by the
commit e41eb3e ("mac80211: remove iwlwifi specific workaround
that broke sta NDP tx")

Fixes: 41cbb0f ("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>
  • Loading branch information
Ping-Ke Shih authored and gregkh committed Jul 14, 2021
1 parent 239713b commit b95af3c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions net/mac80211/sta_info.c
Expand Up @@ -1398,11 +1398,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 |
Expand Down

0 comments on commit b95af3c

Please sign in to comment.