Cc: Johannes Berg <[email protected]>
Cc: "John W. Linville" <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
---
net/wireless/scan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 7d09a71..6e321ee 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -893,7 +893,7 @@ cfg80211_inform_bss_width(struct wiphy *wiphy,
if (!channel)
return NULL;
- memcpy(tmp.pub.bssid, bssid, ETH_ALEN);
+ ether_addr_copy(tmp.pub.bssid, bssid);
tmp.pub.channel = channel;
tmp.pub.scan_width = scan_width;
tmp.pub.signal = signal;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/