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)
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

Simple merge
Simple merge
Simple merge
Simple merge