qlcnic: Fix updating netdev->features
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Tue, 21 May 2013 09:27:01 +0000 (09:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2013 21:52:40 +0000 (14:52 -0700)
commit147a90887baa98d73db1fa7ed9e755bf48960c21
treea86f12f683de6ca93113ded2498b89748dd0f8b5
parent0ce54ce4aaef1389fb8d640271748ace257cb763
qlcnic: Fix updating netdev->features

o After change in EPORT features of 82xx adapter, netdev->features needs to
  be updated to reflect EPORT feature updates but driver was manipulating
  netdev->features at wrong place.
o This patch uses netdev_update_features() and .ndo_fix_features() to
  update netdev->features properly.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c