[net80211] IE 127 is not MESHEXTCAP, just EXTCAP.

It's not a mesh extended capabilities; it's just extended capabilities.
This is from 802.11-2012 8.4.2.29 (Extended Capabilities element.)
This commit is contained in:
Adrian Chadd 2016-03-18 04:00:57 +00:00
parent f6759842d9
commit f3e24d74a7
2 changed files with 4 additions and 3 deletions

View File

@ -877,7 +877,7 @@ enum {
IEEE80211_ELEMID_MESHGANN = 125,
IEEE80211_ELEMID_MESHRANN = 126,
/* 127 Extended Capabilities */
IEEE80211_ELEMID_MESHEXTCAP = 127,
IEEE80211_ELEMID_EXTCAP = 127,
/* 128-129 reserved */
IEEE80211_ELEMID_MESHPREQ = 130,
IEEE80211_ELEMID_MESHPREP = 131,

View File

@ -603,9 +603,10 @@ ieee80211_parse_beacon(struct ieee80211_node *ni, struct mbuf *m,
case IEEE80211_ELEMID_MESHCONF:
scan->meshconf = frm;
break;
case IEEE80211_ELEMID_MESHEXTCAP:
break;
#endif
/* Extended capabilities; nothing handles it for now */
case IEEE80211_ELEMID_EXTCAP:
break;
case IEEE80211_ELEMID_VENDOR:
if (iswpaoui(frm))
scan->wpa = frm;