]> git.karo-electronics.de Git - karo-tx-linux.git/commit
qlcnic: Fix beacon state return status handling
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Thu, 15 Aug 2013 12:29:28 +0000 (08:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 21:35:00 +0000 (14:35 -0700)
commit482b3c3634f73f32bf1059b4470e1c5709c05ddf
tree2da06ad7fc5a4c9c515e76f98c76e3b216721b8c
parent24866d15fa07cc8f0a1a8c48846f64af4af5d72a
qlcnic: Fix beacon state return status handling

o Driver was misinterpreting the return status for beacon
  state query leading to incorrect interpretation of beacon
  state and logging an error message for successful status.
  Fixed the driver to properly interpret the return status.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c