net/enic: fix removing old MAC address when setting new one
authorNelson Escobar <neescoba@cisco.com>
Fri, 8 Jul 2016 01:11:08 +0000 (18:11 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 8 Jul 2016 20:59:52 +0000 (22:59 +0200)
commit620b173ae0f77c1a5af2592a27b5db8a6ce88bb6
treed3fda47c67117bbb075485884dc3188cb005e4ea
parente5b60cf1199c51ee51c287988bdda3522fee748c
net/enic: fix removing old MAC address when setting new one

enic_set_mac_address() meant to remove the old MAC address before
setting the new one, but accidentally tried removing the new MAC
address before setting the new MAC address.

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_main.c