ibmvnic: save changed mac address to adapter->mac_addr
authorLijun Pan <ljp@linux.ibm.com>
Tue, 20 Oct 2020 22:39:19 +0000 (17:39 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Oct 2020 03:54:02 +0000 (20:54 -0700)
commitd9b0e599b2b892422f1cbc5d2658049b895b2b58
treee9110ea3bde29f95d346e3675c7ec991f118f87f
parent287d35405989cfe0090e3059f7788dc531879a8d
ibmvnic: save changed mac address to adapter->mac_addr

After mac address change request completes successfully, the new mac
address need to be saved to adapter->mac_addr as well as
netdev->dev_addr. Otherwise, adapter->mac_addr still holds old
data.

Fixes: 62740e97881c ("net/ibmvnic: Update MAC address settings after adapter reset")
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Link: https://lore.kernel.org/r/20201020223919.46106-1-ljp@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c