]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Only accept data frames in OCB mode
authorBertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>
Wed, 5 Aug 2015 14:02:42 +0000 (16:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Aug 2015 15:49:49 +0000 (17:49 +0200)
commit7c2f3d19b5d1fe007cdc91e343c21830b7c8eb4a
tree0b5621f489c728e8e8c498ad980d7656244c1fd3
parent1e3d8844edccade4ca2de2d01255c6dd4e5bc859
mac80211: Only accept data frames in OCB mode

Currently OCB mode accepts frames with bssid==broadcast and type!=beacon.
Some non-data frames are sent matching this, for example probe responses.
This results in unnecessary creation of STA entries.

Signed-off-by: Bertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c