projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6f81d1
)
rfkill-wlan, solve rockchip_wifi_mac_addr error
author
hwg
<hwg@rock-chips.com>
Mon, 1 Jun 2015 07:41:27 +0000
(15:41 +0800)
committer
hwg
<hwg@rock-chips.com>
Mon, 1 Jun 2015 07:41:27 +0000
(15:41 +0800)
net/rfkill/rfkill-wlan.c
patch
|
blob
|
history
diff --git
a/net/rfkill/rfkill-wlan.c
b/net/rfkill/rfkill-wlan.c
index ade0577d42e2d956fd8b8f2ff7d4bc1fdbda82f3..bdcc8aa56c9cf01457cbd8008b31621fb506e776 100755
(executable)
--- 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);