diff options
author | Roshan Pius <rpius@google.com> | 2019-04-03 15:08:37 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-04-04 16:20:26 +0000 |
commit | 1e5ce4428b3ec929606a605fa82235ffa57e57b3 (patch) | |
tree | 1151ed7abdf9e139093a6c622c8c0c536ee28994 | |
parent | 89bce6ef926ea42e0b77b9098e8bb41b6568c4da (diff) |
libwifi_hal: Remove sleep in wifi_unload_driver
Bug: 129860164
Test: Will send for regression tests
Test: Manual tests on Pixel 3
Change-Id: I9bac5ba876e5352c7ec47e7d7299064236bc8346
-rw-r--r-- | libwifi_hal/wifi_hal_common.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libwifi_hal/wifi_hal_common.cpp b/libwifi_hal/wifi_hal_common.cpp index f1eb3ab16..0d8e0fbe0 100644 --- a/libwifi_hal/wifi_hal_common.cpp +++ b/libwifi_hal/wifi_hal_common.cpp @@ -194,7 +194,6 @@ int wifi_unload_driver() { if (!is_wifi_driver_loaded()) { return 0; } - usleep(200000); /* allow to finish interface down */ #ifdef WIFI_DRIVER_MODULE_PATH if (rmmod(DRIVER_MODULE_NAME) == 0) { int count = 20; /* wait at most 10 seconds for completion */ |