mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
:(CR):Not able to disconnect any connected device
Ioctls value was being filled up with wrq data structure in
softap sdk, but extra parameter was being read from driver.
Fix to read the wrq data structure in driver
Change-Id: I06d8be4e3665bad937614fcb579c36f5f1159e10
Reviewed-on: https://gerrit.mot.com/1456947
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:
parent
4d67856a2a
commit
2152b3eff4
1 changed files with 2 additions and 2 deletions
|
|
@ -1424,7 +1424,7 @@ int __iw_softap_modify_acl(struct net_device *dev,
|
|||
union iwreq_data *wrqu, char *extra)
|
||||
{
|
||||
struct hdd_adapter *adapter = (netdev_priv(dev));
|
||||
uint8_t *value = (uint8_t *) extra;
|
||||
uint8_t *value = (uint8_t *)(wrqu->data.pointer);
|
||||
uint8_t peer_mac[QDF_MAC_ADDR_SIZE];
|
||||
int list_type, cmd, i;
|
||||
int ret;
|
||||
|
|
@ -1843,7 +1843,7 @@ static __iw_softap_disassoc_sta(struct net_device *dev,
|
|||
/* iwpriv tool or framework calls this ioctl with
|
||||
* data passed in extra (less than 16 octets);
|
||||
*/
|
||||
peer_macaddr = (uint8_t *) (extra);
|
||||
peer_macaddr = (uint8_t *) (wrqu->data.pointer);
|
||||
|
||||
hdd_debug("data " QDF_MAC_ADDR_FMT,
|
||||
QDF_MAC_ADDR_REF(peer_macaddr));
|
||||
|
|
|
|||
Loading…
Reference in a new issue