]> git.baikalelectronics.ru Git - kernel.git/commit
netxen: fix set mac addr
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Thu, 7 Jan 2010 22:10:16 +0000 (22:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jan 2010 08:35:28 +0000 (00:35 -0800)
commita15c5106e4f7c2635bd687e091b6c6bac556ddef
treeb0eb8f464e2369494dd57f4535b3ad5dc9106cd1
parent85835787b0c33360d75a104f8de6432131479291
netxen: fix set mac addr

o If tx and rx resources are not available, during set mac request.
  Then this request wont be passed to firmware and it will be added to
  driver mac list and will never make it to firmware.
  So if resources are not available, don't add it to driver mac list.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_hw.c