staging/wlan-ng: compare using ether_addr_equal_unaligned
authorDenis Pithon <denis.pithon@gmail.com>
Fri, 16 May 2014 22:14:50 +0000 (00:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 17:05:21 +0000 (02:05 +0900)
commit9b3ac7a892c12a6ac1a4b7f435be91c22b65e067
treeed7ced24a4463c5dab2d167f832ec5e9ee633ea2
parentae4af9adf11ba6e25261969c9f31e0d09ee5ccc6
staging/wlan-ng: compare using ether_addr_equal_unaligned

Replaced generic memcmp() with dedicated ether_addr_equal_unaligned()
call. I did not find any clue of u16 alignment for both addresses.

Signed-off-by: Denis Pithon <denis.pithon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211netdev.c