]> git.baikalelectronics.ru Git - kernel.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)
commit8416e00d195f760f431df22c40480cf4ff988eda
tree2da06ad7fc5a4c9c515e76f98c76e3b216721b8c
parent32fc03109a58c01f942e925b7ea8a2388a997744
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