summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanumanth Reddy Pothula <c_hpothu@codeaurora.org>2017-02-14 17:36:13 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-02-15 02:28:00 -0800
commit70757facc2c43e7db345a6432037e1e93202e844 (patch)
tree4a1fd2784059b6c3b0c472297e1d7006f002caab
parenta4bf1aab323570fdae05448dddd98b4b16d49915 (diff)
qcacld-3.0: Return success for STOP DRIVER command
Presently, STOP Driver command is not handled in driver as interface down will takes care to close the modules if there are no more interfaces up. But when framework issues this command, it's going to bad state as driver returns failure. To mitigate this issue return SUCCESS for STOP DRIVER command. Change-Id: I47e6898109a35e3194c18645c932c5b2cf5a73c8 CRs-Fixed: 2006563
-rw-r--r--core/hdd/src/wlan_hdd_ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c
index a36e5d066830..7a9d3388ef82 100644
--- a/core/hdd/src/wlan_hdd_ioctl.c
+++ b/core/hdd/src/wlan_hdd_ioctl.c
@@ -6934,6 +6934,7 @@ static const hdd_drv_cmd_t hdd_drv_cmds[] = {
{"CHANNEL_SWITCH", drv_cmd_set_channel_switch},
{"SETANTENNAMODE", drv_cmd_set_antenna_mode},
{"GETANTENNAMODE", drv_cmd_get_antenna_mode},
+ {"STOP", drv_cmd_dummy},
};
/**