]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: use is_broadcast_ether_addr() instead of memcmp()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 26 Aug 2012 00:54:41 +0000 (08:54 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 Sep 2012 19:03:39 +0000 (15:03 -0400)
commitc50f0ae969eadc46ca5ac708e508f607d8091d6b
tree31443d09d2535ced42b95d8d898afbfa8a36191d
parent1f4527fb840974267f54118e92786939a3694f88
wireless: use is_broadcast_ether_addr() instead of memcmp()

Using is_broadcast_ether_addr() instead of directly use
memcmp() to determine if the ethernet address is broadcast
address.

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_ioctl.c