We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c947c3c commit 7349d13Copy full SHA for 7349d13
net/mac80211/wme.c
@@ -145,8 +145,8 @@ u16 __ieee80211_select_queue(struct ieee80211_sub_if_data *sdata,
145
bool qos;
146
147
/* all mesh/ocb stations are required to support WME */
148
- if (sdata->vif.type == NL80211_IFTYPE_MESH_POINT ||
149
- sdata->vif.type == NL80211_IFTYPE_OCB)
+ if (sta && (sdata->vif.type == NL80211_IFTYPE_MESH_POINT ||
+ sdata->vif.type == NL80211_IFTYPE_OCB))
150
qos = true;
151
else if (sta)
152
qos = sta->sta.wme;
0 commit comments