Tag: 35622dc26eeb1c9046df659be43b3a9316b0bf65

wireless: use is_broadcast_ether_addr() instead of memcmp()

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> 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 Signed-off-by: John W. Linville — drivers/net/wireless/hostap/hostap_ioctl.c | 15 +++++———- 1 file changed, 5 insertions(+), 10 deletions(-)   diff –git a/drivers/net/wireless/hostap/hostap_ioctl.c …

Continue reading