cfg80211: pmsr: fix MAC address setting
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Feb 2019 05:59:41 +0000 (07:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Feb 2019 09:37:42 +0000 (10:37 +0100)
commit0acd99282bef617fdbc4dff29359fe8160f00846
treeee6674fabfbc1e8822493e25216630c1c9fe10bc
parentf09bef61f1ed72869b231e5cff16e73a06505cfb
cfg80211: pmsr: fix MAC address setting

When we *don't* have a MAC address attribute, we shouldn't
try to use this - this was intended to copy the local MAC
address instead, so fix it.

Fixes: 9bb7e0f24e7e ("cfg80211: add peer measurement with FTM initiator API")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/pmsr.c