commit | 172353005968ffbd49b20b768fa4ef4808b008cb | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Tue Feb 28 19:07:32 2017 -0800 |
committer | gitbuildkicker <android-build@google.com> | Wed Mar 01 14:00:16 2017 -0800 |
tree | bb49bbeadc533a99f6cfec4c7907b324cdef0da7 | |
parent | 7e300e948bdd81bab9afb8b330882359e36b91e2 [diff] |
wpa_supplicant(hidl): Return value for get driver commands The return value for the |wpa_drv_driver_cmd| for getter commands contains the length of the buffer filled up. Unlike the other methods in supplicant, this should be checked for < 0 for errors. Bug: 35844946 Test: Verified that the mac address is fetched correctly. Change-Id: I4462442ffbb97ff02450b7bc871fb3780beb2c14 (cherry picked from commit 3431fd2b55ff8d6cc49e044a1032e55828168b9e)