]> git.baikalelectronics.ru Git - kernel.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)
commit43b439e36729ed3ec4bb0da8b17391290b198535
treee1fed264ee3b9f03e12ed012f76a8de97a4a3eef
parent11672a0bc0353fa8f21b3a95f097f897f7fb37ca
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