]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 23:17:56 +0000 (15:17 -0800)
commit7705ad5aa349ccfb78a2c61f564176cb2cf812a4
treeba0a19c08fede5952845b22fc7ef0a69569220e2
parentd09706f85cda0c49b345b90df6d6350db7d6f9c4
netxen: fix set mac addr

commit d49c9640975355c79f346869831bf9780d185de0 upstream.

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>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/netxen/netxen_nic_hw.c