Tag: 37905ae131a728d90515bb9258f195edb6c5d5a2

Staging: rtl8192u: 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/rtl8192u/ieee80211/ieee80211_softmac.c | 8 +——- 1 file …

Continue reading