mac80211: use blacklist for duplicate IE check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 24 Oct 2012 12:19:53 +0000 (14:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:15:56 +0000 (13:15 -0800)
commitfec9a0c8f048db2807646fea92bdd87dc8adbade
tree792fa10ed97e5b92b2ece3c6d1d9f7c12601f4bf
parent2404ce30fd4e4c46d3c3869093a5987c0d56fee6
mac80211: use blacklist for duplicate IE check

commit 9690fb169b433a66485c808e4fc352b8a0f8d866 upstream.

Instead of the current whitelist which accepts duplicates
only for the quiet and vendor IEs, use a blacklist of all
IEs (that we currently parse) that can't be duplicated.

This avoids detecting a beacon as corrupt in the future
when new IEs are added that can be duplicated.

Signed-off-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/util.c