cxgb4: Fix the condition to check if the card is T5
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 4 Jul 2018 12:19:33 +0000 (17:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2018 11:14:29 +0000 (20:14 +0900)
commitdfecc759e64b0ea581468fe2359836f1998deac9
treed8b5af961b46fbe71a29d3b96a452accd703220c
parent4ed88df766704633459d8fddce1c1c87e1acb844
cxgb4: Fix the condition to check if the card is T5

Use 'chip_ver' rather than 'chip' to check if the card
is T5.

Fixes: e8d452923ae6 ("cxgb4: clean up init_one")
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c