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 2019-11-18 10:59:49 +05:30 • committed by panyq6
commit efab238c44

View file

@ -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;