改了没识别到卡的话,比如直接就用ssv6051的驱动,现在默认就加载了6051的,改回6330,就能识别6330的
路径:hardware\libhardware_legacy\wifi\rk_wifi_ctrl.c
int check_wifi_chip_type_string(char *type)
{
if (identify_sucess == -1) {
if (get_wifi_device_id(SDIO_DIR, PREFIX_SDIO) == 0)
ALOGD("SDIO WIFI identify sucess");
else if (get_wifi_device_id(USB_DIR, PREFIX_USB) == 0)
ALOGD("USB WIFI identify sucess");
else if (get_wifi_device_id(PCIE_DIR, PREFIX_PCIE) == 0)
ALOGD("PCIE WIFI identify sucess");
else {
ALOGD("maybe there is no usb wifi or sdio or pcie wifi,set default wifi module Brocom APXXX");
strcpy(recoginze_wifi_chip, "AP6330");
identify_sucess = 1 ;
}
}
strcpy(type, recoginze_wifi_chip);
ALOGD("%s: %s", __func__, type);
return 0;
}