diff options
author | hwg <hwg@rock-chips.com> | 2015-06-01 15:41:27 +0800 |
---|---|---|
committer | hwg <hwg@rock-chips.com> | 2015-06-01 15:41:27 +0800 |
commit | 94dfc90f19ca9de4b7b1a252e16108ebc0a7a841 (patch) | |
tree | 2d808e0cb75ea552f7a72152224c3dabb146b3e8 /net/rfkill | |
parent | d6f81d11337829cf86fbad53e209ae2cb2f12d88 (diff) |
rfkill-wlan, solve rockchip_wifi_mac_addr error
Diffstat (limited to 'net/rfkill')
-rwxr-xr-x | net/rfkill/rfkill-wlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rfkill/rfkill-wlan.c b/net/rfkill/rfkill-wlan.c index ade0577d42e2..bdcc8aa56c9c 100755 --- a/net/rfkill/rfkill-wlan.c +++ b/net/rfkill/rfkill-wlan.c @@ -618,10 +618,10 @@ int rockchip_wifi_mac_addr(unsigned char *buf) if (is_valid_ether_addr(wifi_custom_mac_addr) && !strncmp(wifi_chip_type_string, "rtl", 3)) { wifi_custom_mac_addr[0] &= ~0x2; // for p2p - } else { + }/* else { LOG("This mac address is not valid, ignored...\n"); return -1; - } + }*/ memcpy(buf, wifi_custom_mac_addr, 6); |