]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Fix programming number of arguments in a command.
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Tue, 14 Oct 2014 11:41:45 +0000 (07:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 21:05:17 +0000 (17:05 -0400)
commitc940e1eaf1ab1afa34717ea1ade2bf87664de118
tree8f0cf940d14ebede4866af32b8e4be301958bd50
parent6c94217813035310609acbf9548baaf910635bb1
qlcnic: Fix programming number of arguments in a command.

o Initially we were programming maximum number of arguments.
  Instead we should program number of arguments required in
  a command.
o Maximum number of arguments for 82xx adapter is four. Fix it
  for GET_ESWITCH_STATS command.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c