aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/sta_info.c')
-rw-r--r--net/mac80211/sta_info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c
index 441875f03750..730030542024 100644
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
@@ -1182,7 +1182,7 @@ static void ieee80211_send_null_response(struct ieee80211_sub_if_data *sdata,
1182 struct sk_buff *skb; 1182 struct sk_buff *skb;
1183 int size = sizeof(*nullfunc); 1183 int size = sizeof(*nullfunc);
1184 __le16 fc; 1184 __le16 fc;
1185 bool qos = test_sta_flag(sta, WLAN_STA_WME); 1185 bool qos = sta->sta.wme;
1186 struct ieee80211_tx_info *info; 1186 struct ieee80211_tx_info *info;
1187 struct ieee80211_chanctx_conf *chanctx_conf; 1187 struct ieee80211_chanctx_conf *chanctx_conf;
1188 1188
@@ -1837,7 +1837,7 @@ void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo)
1837 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_AUTHORIZED); 1837 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_AUTHORIZED);
1838 if (test_sta_flag(sta, WLAN_STA_SHORT_PREAMBLE)) 1838 if (test_sta_flag(sta, WLAN_STA_SHORT_PREAMBLE))
1839 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_SHORT_PREAMBLE); 1839 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_SHORT_PREAMBLE);
1840 if (test_sta_flag(sta, WLAN_STA_WME)) 1840 if (sta->sta.wme)
1841 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_WME); 1841 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_WME);
1842 if (test_sta_flag(sta, WLAN_STA_MFP)) 1842 if (test_sta_flag(sta, WLAN_STA_MFP))
1843 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_MFP); 1843 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_MFP);