Signed-off-by: Dan Lenski <dlenski@xxxxxxxxx> --- drivers/staging/rtl8723au/os_dep/os_intfs.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/os_intfs.c b/drivers/staging/rtl8723au/os_dep/os_intfs.c index b8848c2..228e19f 100644 --- a/drivers/staging/rtl8723au/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723au/os_dep/os_intfs.c @@ -240,8 +240,11 @@ static int rtw_net_set_mac_address(struct net_device *pnetdev, void *p) struct rtw_adapter *padapter = netdev_priv(pnetdev); struct sockaddr *addr = p; - if (!padapter->bup) - ether_addr_copy(padapter->eeprompriv.mac_addr, addr->sa_data); + if (padapter->bup) + DBG_8723A_LEVEL(_drv_warning_, "Trying to set MAC address while bup =%d\n", padapter->bup); + ether_addr_copy(padapter->eeprompriv.mac_addr, addr->sa_data); + ether_addr_copy(pnetdev->dev_addr, addr->sa_data); + return 0; } -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html