mac80211: correct behaviour on unrecognised action frames
authorJohannes Berg <johannes.berg@intel.com>
Wed, 27 Jun 2012 13:38:56 +0000 (15:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 15:47:49 +0000 (08:47 -0700)
commit1dc1e5ad5a05da69c51446f9c8a2c097884fece7
tree5e80cad2b1d9445a160af924f8fd0c54cbdfaa1f
parentd2b32167957d2cb234636bac6dd46056c17bc272
mac80211: correct behaviour on unrecognised action frames

commit 4b5ebccc40843104d980f0714bc86bfcd5568941 upstream.

When receiving an "individually addressed" action frame, the
receiver is required to return it to the sender. mac80211
gets this wrong as it also returns group addressed (mcast)
frames to the sender. Fix this and update the reference to
the new 802.11 standards version since things were shuffled
around significantly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/rx.c