Start accepting IEEE80211_ACTION_MESH_GANN frames;

* Add IEEE80211_ACTION_MESH_GANN Action frame verification in
  ieee80211_parse_action;

Approved by:	adrian (mentor)
This commit is contained in:
Monthadar Al Jaberi 2013-02-07 21:22:14 +00:00
parent cd47d75c70
commit c81ceff7c7

View File

@ -776,6 +776,10 @@ ieee80211_parse_action(struct ieee80211_node *ni, struct mbuf *m)
/* verify something */
break;
case IEEE80211_ACTION_MESH_GANN:
IEEE80211_VERIFY_LENGTH(efrm - frm,
sizeof(struct ieee80211_meshgann_ie),
return EINVAL);
break;
case IEEE80211_ACTION_MESH_CC:
case IEEE80211_ACTION_MESH_MCCA_SREQ:
case IEEE80211_ACTION_MESH_MCCA_SREP: