diff options
author | Wei Yongjun | 2012-08-24 07:27:10 +0200 |
---|---|---|
committer | John W. Linville | 2012-09-07 21:03:39 +0200 |
commit | 626a43de90cf5832a54a66f3320dba97dd073c48 (patch) | |
tree | 08d6c801d067091e98edb4f130932567c2629a29 /drivers/net/wireless/hostap | |
parent | mwifiex: use is_broadcast_ether_addr() instead of memcmp() (diff) | |
download | kernel-qcow2-linux-626a43de90cf5832a54a66f3320dba97dd073c48.tar.gz kernel-qcow2-linux-626a43de90cf5832a54a66f3320dba97dd073c48.tar.xz kernel-qcow2-linux-626a43de90cf5832a54a66f3320dba97dd073c48.zip |
mwifiex: use is_zero_ether_addr() instead of memcmp()
Using is_zero_ether_addr() instead of directly use
memcmp() to determine if the ethernet address is all
zeros.
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>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hostap')
0 files changed, 0 insertions, 0 deletions