Просмотр исходного кода

qcacld-3.0: Add idle shutdown for virtual interface stop

Because FW don't support idle pdev suspend, and when all interface down
host will not send wow enable command because wakeup is not expected.
The idle shutdown precedure already exist for station mode, apply it to
virtual interface as well.Otherwise, it will cause wlan suspend failed

Change-Id: I5bde36298b1484b09b1bb52cf79841f99d5324be
CRs-Fixed: 2668600
Ben Wang 5 лет назад
Родитель
Сommit
308c352957
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      core/hdd/src/wlan_hdd_p2p.c

+ 2 - 0
core/hdd/src/wlan_hdd_p2p.c

@@ -869,6 +869,8 @@ int __wlan_hdd_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev)
 		hdd_close_adapter(hdd_ctx, adapter, true);
 	}
 
+	if (!hdd_is_any_interface_open(hdd_ctx))
+		hdd_psoc_idle_timer_start(hdd_ctx);
 	hdd_exit();
 
 	return 0;