]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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:18:30 +0000 (13:18 -0800)
commitf7d0737b4c3912713a6fb381cde2e375c2ad4f0c
tree6727297e84de8716ded1a4576f29348804d55e81
parenteb0c3c845ee8fa519141c31f56fa2aaa902917c7
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