diff options
| -rw-r--r-- | core/hdd/src/wlan_hdd_hostapd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index c9f26cf59fe5..ff2e4c11667a 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -596,6 +596,7 @@ static int __hdd_hostapd_set_mac_address(struct net_device *dev, void *addr) hdd_info("Changing MAC to " MAC_ADDRESS_STR " of interface %s ", MAC_ADDR_ARRAY(mac_addr.bytes), dev->name); + memcpy(&adapter->macAddressCurrent, psta_mac_addr->sa_data, ETH_ALEN); memcpy(dev->dev_addr, psta_mac_addr->sa_data, ETH_ALEN); EXIT(); return 0; |
