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 <a19110@motorola.com>
Submit-Approved: Raja Phani K <a16821@motorola.com>
This commit is contained in:
jmng34 authored and Marcelo Pincinato committed 2022-09-06 19:03:53 -03:00
1 parent 11b8daa5c8
commit 4da35ab6ad
1 file changed
+1 -1
+1 -1
View File
@@ -1532,7 +1532,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;