mac80211: simplify and clarify IE splitting
authorJohannes Berg <johannes.berg@intel.com>
Sat, 5 Aug 2017 08:44:32 +0000 (11:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Sep 2017 09:41:58 +0000 (11:41 +0200)
commita7f26d8050c4f172d2dc523aabf45c5cbd9558ac
tree10cd12a753c012c73e70ae367c9237a01993b024
parent2512b1b18d0748d867bb22387db7c86b903291ad
mac80211: simplify and clarify IE splitting

There's no need to split off IEs from the ones obtained
from userspace, if they were already split off, so for
example IEs that went before HT don't have to be listed
again to go before VHT. Simplify the code here so it's
clearer.

While at it, also clarify the comments regarding the DMG
(60 GHz) elements.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c
net/mac80211/util.c