diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-30 14:26:34 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-08-20 16:13:45 +0400 |
commit | fe94fe05e9fb7c1bea482d1b0fd09029a711cce2 (patch) | |
tree | 3ce8972df96c159116ecf384af549f272dc66a48 /net/mac80211/ieee80211_i.h | |
parent | c0af07340aae5db9f976bfe71e2e9bcab3169409 (diff) | |
download | linux-fe94fe05e9fb7c1bea482d1b0fd09029a711cce2.tar.xz |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 0b81fa807179..204bfedba306 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1472,7 +1472,8 @@ struct sk_buff *ieee80211_build_probe_req(struct ieee80211_sub_if_data *sdata, void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, const u8 *ssid, size_t ssid_len, const u8 *ie, size_t ie_len, - u32 ratemask, bool directed, bool no_cck); + u32 ratemask, bool directed, bool no_cck, + struct ieee80211_channel *channel); void ieee80211_sta_def_wmm_params(struct ieee80211_sub_if_data *sdata, const size_t supp_rates_len, |