]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: pass channel to ieee80211_send_probe_req
authorJohannes Berg <johannes.berg@intel.com>
Mon, 30 Jul 2012 10:26:34 +0000 (12:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 12:13:45 +0000 (14:13 +0200)
commit63ad8a9780b58a103571ff385224d28a433ae94d
tree3ce8972df96c159116ecf384af549f272dc66a48
parent092b8e75c720f9de9e1100b4adb01b40731e31b7
mac80211: pass channel to ieee80211_send_probe_req

In multi-channel scenarios, the channel that we will
transmit a probe request on isn't always the current
channel (which will be NULL anyway) but will instead
be the channel that the AP is on. Pass the channel
to the ieee80211_send_probe_req() function so it can
be used in the different scenarios. The scan code
continues to pass the current channel, of course.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/scan.c
net/mac80211/util.c