]> git.karo-electronics.de Git - linux-beck.git/commit
mac82011: use frame control to differentiate probe resp/beacon
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 10 Dec 2012 14:19:13 +0000 (16:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:33 +0000 (13:01 +0100)
commitd45c41722a3eca639ced2c4c93665ced229b1da9
treee1fed264ee3b9f03e12ed012f76a8de97a4a3eef
parentcc3983d8ab174ca43d5817f16c489b3cce3a795a
mac82011: use frame control to differentiate probe resp/beacon

The probe response/beacon management frame RX code passes a
bool parameter to differentiate beacons and probe responses.
This is useless since we have the frame and can thus use its
frame control field. Moreover it is buggy since there is one
call to ieee80211_rx_bss_info with a beacon frame that is
indicated as a probe response, which is also fixed by using
the frame control field, so do that.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/scan.c