igbvf: fix the bug when initializing the igbvf
authorSamuel Liao <samuelliao@tencent.com>
Fri, 27 Apr 2012 17:09:27 +0000 (17:09 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 1 May 2012 01:54:31 +0000 (18:54 -0700)
commit9bd1be457d2b9568c3c8f8f6b8e450a501bff402
tree7036f3c61485333436ccdfb44dd1ceb2a65190fe
parent1cebce36d660c83bd1353e41f3e66abd4686f215
igbvf: fix the bug when initializing the igbvf

Maybe it's a typo, but it cause that igbvf can't be initialized successfully.
Set perm_addr value using valid dev_addr, although which is equal to hw.mac.addr.

Signed-off-by: Samuel Liao <samuelliao@tencent.com>
Signed-off-by: Shan Wei <davidshan@tencent.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igbvf/netdev.c