ionic: fix fw_status read

[ Upstream commit 68b759a75d ]

The fw_status field is only 8 bits, so fix the read.  Also,
we only want to look at the one status bit, to allow for future
use of the other bits, and watch for a bad PCI read.

Fixes: 97ca486592 ("ionic: add heartbeat check")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Shannon Nelson 2020-02-19 14:59:42 -08:00 • committed by Greg Kroah-Hartman
commit 62fb796c55
2 changed files with 8 additions and 4 deletions