Tag: 71cd7913cb7b28aa6e7daee217339fc8c70f1a0b

staging: rtl8192e: using random_ether_addr() to generate random MAC

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Using random_ether_addr() to generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set. Not need to duplicating its implementation. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8192e/rtllib_softmac.c | 8 +——- 1 file …

Continue reading