summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanumanth Reddy Pothula <c_hpothu@codeaurora.org>2017-01-24 19:10:16 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-05 03:42:31 -0700
commit7f2ebfa9429412b0d70d2dcf08613a2625175f31 (patch)
tree5d9a1634773e6af662ab0a3fc9022a7a4a6ae6bf
parentf64ebb93f35744f739a4d5b545907c0dabbc331a (diff)
qcacld-2.0: fix user space accesses
Don't access user space memory directly in hdd_driver_command Change-Id: I8a8751625f869095242ee3da8bf29f3cac172338 CRs-Fixed: 1106518
-rw-r--r--CORE/HDD/src/wlan_hdd_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 018908e8eb8e..ada6ccb30dfc 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -8046,8 +8046,6 @@ static int hdd_driver_command(hdd_adapter_t *pAdapter,
ret = drv_cmd_get_antenna_mode(pAdapter, pHddCtx, command,
14, &priv_data);
- hddLog(LOG1, FL("Get antenna mode ret: %d mode: %s"),
- ret, priv_data.buf);
} else if (strncmp(command, "STOP", 4) == 0) {
hddLog(LOG1, FL("STOP command"));
pHddCtx->driver_being_stopped = true;