mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-13 00:50:39 +09:00
WiFi:bcmdhd: add rockchip_wifi_set_carddetect(0) to remove device when turn off wifi.
This commit is contained in:
@@ -370,7 +370,8 @@ sdioh_interrupt_deregister(sdioh_info_t *sd)
|
||||
sd->intr_handler = NULL;
|
||||
sd->intr_handler_arg = NULL;
|
||||
#elif defined(HW_OOB)
|
||||
sdioh_disable_func_intr();
|
||||
if (dhd_download_fw_on_driverload)
|
||||
sdioh_disable_func_intr();
|
||||
#endif /* !defined(OOB_INTR_ONLY) */
|
||||
return SDIOH_API_RC_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ void bcm_wlan_power_off(int flag)
|
||||
{
|
||||
if (flag == 1) {
|
||||
printk("======== Card detection to remove SDIO card! ========\n");
|
||||
rockchip_wifi_power(1);
|
||||
rockchip_wifi_set_carddetect(0);
|
||||
rockchip_wifi_power(0);
|
||||
} else {
|
||||
printk("======== PULL WL_REG_ON LOW! (flag = %d) ========\n", flag);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
|
||||
const char RKWIFI_DRV_VERSION[] = "4.78.WFD.OOB";
|
||||
const char RKWIFI_DRV_VERSION[] = "4.79.WFD.OOB";
|
||||
|
||||
const char WIFI_MODULE_NAME[] = "";
|
||||
const char CONFIG_BCMDHD_FW_PATH[] = "";
|
||||
|
||||
Reference in New Issue
Block a user