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)
commitfe94fe05e9fb7c1bea482d1b0fd09029a711cce2
tree3ce8972df96c159116ecf384af549f272dc66a48
parentc0af07340aae5db9f976bfe71e2e9bcab3169409
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