mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
This commit is contained in:
commit
c597f6653d
43 changed files with 902 additions and 253 deletions
|
@ -378,7 +378,11 @@ static int cmp_bss_core(struct cfg80211_bss *a,
|
|||
b->len_information_elements);
|
||||
}
|
||||
|
||||
return compare_ether_addr(a->bssid, b->bssid);
|
||||
/*
|
||||
* we can't use compare_ether_addr here since we need a < > operator.
|
||||
* The binary return value of compare_ether_addr isn't enough
|
||||
*/
|
||||
return memcmp(a->bssid, b->bssid, sizeof(a->bssid));
|
||||
}
|
||||
|
||||
static int cmp_bss(struct cfg80211_bss *a,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue