Instead of calling return when reaching the end of the assoc notification
break the loop instead. We want to run the code after the while loop to set an associd and capinfo. If we don't do this net80211 will drop frames because it assumes the node has not yet been associated. MFC after: 1 week
This commit is contained in:
parent
d680caab73
commit
f3c95fe748
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214160
@ -1356,7 +1356,7 @@ iwi_checkforqos(struct ieee80211vap *vap,
|
||||
|
||||
wme = NULL;
|
||||
while (frm < efrm) {
|
||||
IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1], return);
|
||||
IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1], break);
|
||||
switch (*frm) {
|
||||
case IEEE80211_ELEMID_VENDOR:
|
||||
if (iswmeoui(frm))
|
||||
|
Loading…
Reference in New Issue
Block a user