Wifi: add bcm4330 use rkwifi.ko
authorhwg <hwg@rock-chips.com>
Wed, 9 May 2012 08:15:32 +0000 (16:15 +0800)
committerhwg <hwg@rock-chips.com>
Wed, 9 May 2012 08:17:25 +0000 (16:17 +0800)
drivers/net/wireless/rkwifi/rk_wifi_config.c

index df19f33e17e76ad8698bfd71221fa32208f4fdc1..2bf2c9b8093aebd476b2c4837e2ff52a299e839d 100644 (file)
@@ -43,12 +43,12 @@ int rkwifi_set_firmware(char *fw, char *nvram)
 
 #ifdef CONFIG_RK901
        sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_RK901.bin");
-#ifdef CONFIG_RKWIFI_26M
-       sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_RK901_26M.txt");
-#endif
-#ifdef CONFIG_RKWIFI_37_4M
        sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_RK901.txt");
 #endif
+
+#ifdef CONFIG_BCM4330
+       sprintf(fw, "%s%s", ANDROID_FW_PATH, "fw_bcm4330.bin");
+       sprintf(nvram, "%s%s", ANDROID_FW_PATH, "nvram_4330.txt");
 #endif
 
        return 0;