rfkill-wlan, solve rockchip_wifi_mac_addr error
authorhwg <hwg@rock-chips.com>
Mon, 1 Jun 2015 07:41:27 +0000 (15:41 +0800)
committerhwg <hwg@rock-chips.com>
Mon, 1 Jun 2015 07:41:27 +0000 (15:41 +0800)
net/rfkill/rfkill-wlan.c

index ade0577d42e2d956fd8b8f2ff7d4bc1fdbda82f3..bdcc8aa56c9cf01457cbd8008b31621fb506e776 100755 (executable)
@@ -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);