]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit149c7202a24016246271054dfec8b3f90e8acf4b
tree7036f3c61485333436ccdfb44dd1ceb2a65190fe
parenta1961b739d731cf7e02ce20f57d5a2c4876b272d
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