From efab238c4444947ad1baac8dc8ed796739d3290d Mon Sep 17 00:00:00 2001 From: jmng34 Date: Mon, 18 Nov 2019 10:59:49 +0530 Subject: [PATCH] get correct tx power from ioctl Propogate (CR) : get correct tx power from ioctl. Restructured based on the 8250 files Change-Id: I2216a0442cbb8dbb7fd9a1fcbbed5be9bec177ac Reviewed-on: https://gerrit.mot.com/1456950 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Prashanth Chakravarthy Submit-Approved: Raja Phani K --- core/hdd/src/wlan_hdd_hostapd_wext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_hostapd_wext.c b/core/hdd/src/wlan_hdd_hostapd_wext.c index 45121a32d4b6..5a799a32ecd2 100644 --- a/core/hdd/src/wlan_hdd_hostapd_wext.c +++ b/core/hdd/src/wlan_hdd_hostapd_wext.c @@ -1540,7 +1540,7 @@ static __iw_softap_set_max_tx_power(struct net_device *dev, { struct hdd_adapter *adapter = (netdev_priv(dev)); struct hdd_context *hdd_ctx; - int *value = (int *)extra; + int *value = (int *)(wrqu->data.pointer); int set_value; int ret; struct qdf_mac_addr bssid = QDF_MAC_ADDR_BCAST_INIT;