From 7f2ebfa9429412b0d70d2dcf08613a2625175f31 Mon Sep 17 00:00:00 2001 From: Hanumanth Reddy Pothula Date: Tue, 24 Jan 2017 19:10:16 +0530 Subject: qcacld-2.0: fix user space accesses Don't access user space memory directly in hdd_driver_command Change-Id: I8a8751625f869095242ee3da8bf29f3cac172338 CRs-Fixed: 1106518 --- CORE/HDD/src/wlan_hdd_main.c | 2 -- 1 file changed, 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; -- cgit v1.2.3