]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: send AP probe as unicast again
authorJohannes Berg <johannes.berg@intel.com>
Sat, 21 Mar 2015 06:41:04 +0000 (07:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:02:04 +0000 (22:02 +0200)
commit869c623bcdcf2e806cb5e31fed7c3bbdf47ffc6e
treed3c3287b5a57f1ec866a069bf05f46561c0338df
parentb5d458c11722dc457541d0e1f8231a63031d924e
mac80211: send AP probe as unicast again

commit a73f8e21f3f93159bc19e154e8f50891c22c11db upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c