qlogic: qed: fix a test for MODE_MF_SI
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Nov 2015 13:29:11 +0000 (16:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Nov 2015 03:06:13 +0000 (22:06 -0500)
commit87aec47d173ca730d014b6b0246ca6be18b0ce94
treec874135cce569f54cb8996b9d2a693eb64d017ac
parent8c169c28f40bd78b772c4d95306735c00f8db80d
qlogic: qed: fix a test for MODE_MF_SI

MODE_MF_SI is 9.  We should be testing bit 9 instead of AND 0x9.

Fixes: fe56b9e6a8d9 ('qed: Add module with basic common support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c