mac80211: use blacklist for duplicate IE check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 24 Oct 2012 12:19:53 +0000 (14:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Oct 2012 15:21:24 +0000 (17:21 +0200)
commit9690fb169b433a66485c808e4fc352b8a0f8d866
treef656da93b41b037eed8751b9a2fb17ddde45f635
parent279f0f55249820d8129470c0e104084b252f26f3
mac80211: use blacklist for duplicate IE check

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.

Cc: stable@vger.kernel.org
Signed-off-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c