qlcnic: Fix set driver version command
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Thu, 15 Aug 2013 12:29:27 +0000 (08:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 21:35:00 +0000 (14:35 -0700)
commit24866d15fa07cc8f0a1a8c48846f64af4af5d72a
treef184768db373c024963375d009dcef2110639521
parent6829309926b90c4c32d1f4cafeb600cd34a721e3
qlcnic: Fix set driver version command

Driver was issuing set driver version command through all
functions in the adapter. Fix the driver to issue set driver
version once per adapter, through function 0.

Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c