1 From a73f8e21f3f93159bc19e154e8f50891c22c11db Mon Sep 17 00:00:00 2001
2 From: Johannes Berg <johannes.berg@intel.com>
3 Date: Sat, 21 Mar 2015 07:41:04 +0100
4 Subject: mac80211: send AP probe as unicast again
6 From: Johannes Berg <johannes.berg@intel.com>
8 commit a73f8e21f3f93159bc19e154e8f50891c22c11db upstream.
10 Louis reported that a static checker was complaining that
11 the 'dst' variable was set (multiple times) but not used.
12 This is due to a previous commit having removed the usage
13 (apparently erroneously), so add it back.
15 Fixes: a344d6778a98 ("mac80211: allow drivers to support NL80211_SCAN_FLAG_RANDOM_ADDR")
16 Reported-by: Louis Langholtz <lou_langholtz@me.com>
17 Signed-off-by: Johannes Berg <johannes.berg@intel.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 net/mac80211/mlme.c | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
24 --- a/net/mac80211/mlme.c
25 +++ b/net/mac80211/mlme.c
26 @@ -2231,7 +2231,7 @@ static void ieee80211_mgd_probe_ap_send(
30 - ieee80211_send_probe_req(sdata, sdata->vif.addr, NULL,
31 + ieee80211_send_probe_req(sdata, sdata->vif.addr, dst,
32 ssid + 2, ssid_len, NULL,
34 ifmgd->associated->channel, false);