mac80211: extend ieee80211_ie_split to support EXTENSION
authorLiad Kaufman <liad.kaufman@intel.com>
Sat, 5 Aug 2017 08:44:31 +0000 (11:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Sep 2017 09:41:58 +0000 (11:41 +0200)
commit2512b1b18d0748d867bb22387db7c86b903291ad
tree72cbdc3fdab2db7de3260064ac43a78528eded3e
parent79af1f866193de29e65a4dba7d0dab14b0c0ff93
mac80211: extend ieee80211_ie_split to support EXTENSION

Current ieee80211_ie_split() implementation doesn't
account for elements that are sub-elements of the
EXTENSION IE. To extend support to these IEs as well,
treat the WLAN_EID_EXTENSION ids in the %ids array
as indicating that the next id in the array is a
sub-element of the EXTENSION IE.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/util.c