diff options
author | Subhani Shaik <subhanis@codeaurora.org> | 2017-11-30 00:59:17 +0530 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2017-12-14 17:45:19 +0000 |
commit | 9b620802a517b1745255e7622b81c426918b7a2e (patch) | |
tree | 068da4a28b877d951739912e6a003df4e49c09ec /qcwcn/wifi_hal/llstatscommand.h | |
parent | 1f86a9565af7ae36981f6b9dc3b1c70fec39d9d8 (diff) | |
download | wlan-9b620802a517b1745255e7622b81c426918b7a2e.tar.gz |
WiFi-Hal: Clean up the return codes in wifi-hal
Use error codes from "enum wifi_error" throughout the wifi-hal.
Convert the error codes returned by kernel to "enum wifi_error"
codes appropriately before passing them to upper layers.
Change-Id: I62937e3c7870ba1b48b8aeedf38c89c2424532b4
(cherry-picked from
d54aafdb39c095318c7fecab6551e018297069ed)
Diffstat (limited to 'qcwcn/wifi_hal/llstatscommand.h')
-rw-r--r-- | qcwcn/wifi_hal/llstatscommand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qcwcn/wifi_hal/llstatscommand.h b/qcwcn/wifi_hal/llstatscommand.h index aef0017..5d4c480 100644 --- a/qcwcn/wifi_hal/llstatscommand.h +++ b/qcwcn/wifi_hal/llstatscommand.h @@ -94,13 +94,13 @@ public: // This function implements creation of LLStats specific Request // based on the request type - virtual int create(); + virtual wifi_error create(); virtual void setSubCmd(u32 subcmd); virtual void initGetContext(u32 reqid); - virtual int requestResponse(); + virtual wifi_error requestResponse(); virtual wifi_error notifyResponse(); |