[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20140512193747.5714f0dd8278177425cf8b66@skynet.be>
Date: Mon, 12 May 2014 19:37:47 +0200
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel <linux-kernel@...r.kernel.org>
Cc: Johannes Berg <johannes@...solutions.net>,
"John W. Linville" <linville@...driver.com>,
akpm <akpm@...ux-foundation.org>
Subject: [PATCH 1/1] net/wireless/scan.c: replace memcpy by ether_addr_copy
Cc: Johannes Berg <johannes@...solutions.net>
Cc: "John W. Linville" <linville@...driver.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists