diff options
Diffstat (limited to 'net/wireless/scan.c')
-rw-r--r-- | net/wireless/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 70faadf16a32..fdbcfe692a36 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c | |||
@@ -378,7 +378,7 @@ static int cmp_bss_core(struct cfg80211_bss *a, | |||
378 | b->len_information_elements); | 378 | b->len_information_elements); |
379 | } | 379 | } |
380 | 380 | ||
381 | return memcmp(a->bssid, b->bssid, ETH_ALEN); | 381 | return compare_ether_addr(a->bssid, b->bssid); |
382 | } | 382 | } |
383 | 383 | ||
384 | static int cmp_bss(struct cfg80211_bss *a, | 384 | static int cmp_bss(struct cfg80211_bss *a, |