diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-03-21 02:41:04 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-30 04:47:14 -0400 |
commit | a73f8e21f3f93159bc19e154e8f50891c22c11db (patch) | |
tree | 8724dd04e0957a3188ca50a151c7d6bfe37bc250 | |
parent | 07862e13e60305e3026aaff88c764b4bafa02a64 (diff) |
mac80211: send AP probe as unicast again
Louis reported that a static checker was complaining that
the 'dst' variable was set (multiple times) but not used.
This is due to a previous commit having removed the usage
(apparently erroneously), so add it back.
Fixes: a344d6778a98 ("mac80211: allow drivers to support NL80211_SCAN_FLAG_RANDOM_ADDR")
Reported-by: Louis Langholtz <lou_langholtz@me.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 4a01a836f870..8a06b1abc47a 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -2233,7 +2233,7 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata) | |||
2233 | else | 2233 | else |
2234 | ssid_len = ssid[1]; | 2234 | ssid_len = ssid[1]; |
2235 | 2235 | ||
2236 | ieee80211_send_probe_req(sdata, sdata->vif.addr, NULL, | 2236 | ieee80211_send_probe_req(sdata, sdata->vif.addr, dst, |
2237 | ssid + 2, ssid_len, NULL, | 2237 | ssid + 2, ssid_len, NULL, |
2238 | 0, (u32) -1, true, 0, | 2238 | 0, (u32) -1, true, 0, |
2239 | ifmgd->associated->channel, false); | 2239 | ifmgd->associated->channel, false); |