commit | b33c7ee9dc5a0a9ba96f4ba50f712c42f2246dd3 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Fri Feb 07 16:57:21 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Feb 07 16:57:21 2020 +0000 |
tree | c13ca8125fa1c695ed8b9a4127486a369282dc60 | |
parent | 7ca480c79dfc9e6b1792c3edf95304c2707bb0bb [diff] | |
parent | 019164c4b9100ae6a5691248357e315523c25533 [diff] |
Merge "wifi: fix uninitialized variable"
diff --git a/wifi/supplicant/1.3/vts/functional/supplicant_sta_network_hidl_test.cpp b/wifi/supplicant/1.3/vts/functional/supplicant_sta_network_hidl_test.cpp index 93eabd6..6be24bc 100644 --- a/wifi/supplicant/1.3/vts/functional/supplicant_sta_network_hidl_test.cpp +++ b/wifi/supplicant/1.3/vts/functional/supplicant_sta_network_hidl_test.cpp
@@ -56,6 +56,8 @@ supplicant_ = getSupplicant_1_3(supplicant_v1_3_instance_name_, isP2pOn_); EXPECT_TRUE(turnOnExcessiveLogging(supplicant_)); + sta_iface_ = getSupplicantStaIface_1_3(supplicant_); + ASSERT_NE(nullptr, sta_iface_.get()); sta_network_ = createSupplicantStaNetwork_1_3(supplicant_); ASSERT_NE(sta_network_.get(), nullptr); }