commit | a49e6a89398cb0d3a6fa1d3102361d7312158491 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Wed Aug 16 21:00:58 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Aug 16 21:00:58 2017 +0000 |
tree | c107248c50e6f3409edec75e049efd08a66fdb90 | |
parent | bd8e67600110e390762e8d807a14cce44edae30d [diff] | |
parent | bdfda42b98256111633d502635c8040b91b925ef [diff] |
wpa_supplicant(hidl): Don't send negative disconnect reason codes am: 0f43cd4e3b am: bdfda42b98 Change-Id: Ifc2344e1167efb096c289ee8e3da61b8598178b9
diff --git a/wpa_supplicant/hidl/1.0/hidl_manager.cpp b/wpa_supplicant/hidl/1.0/hidl_manager.cpp index 622dcbf..152203c 100644 --- a/wpa_supplicant/hidl/1.0/hidl_manager.cpp +++ b/wpa_supplicant/hidl/1.0/hidl_manager.cpp
@@ -904,7 +904,7 @@ &ISupplicantStaIfaceCallback::onDisconnected, std::placeholders::_1, bssid, wpa_s->disconnect_reason < 0, static_cast<ISupplicantStaIfaceCallback::ReasonCode>( - wpa_s->disconnect_reason))); + abs(wpa_s->disconnect_reason)))); } /**