Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbdc251d authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

staging: slicoss: use status in isr



If we are not able to setup the LINK UP command then don't increment the
interrupt count.

Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4b8645d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2110,7 +2110,8 @@ static void slic_interrupt_card_up(u32 isr, struct adapter *adapter,

		if (isr & ISR_LEVENT) {
			adapter->linkevent_interrupts++;
			slic_link_event_handler(adapter);
			if (slic_link_event_handler(adapter))
				adapter->linkevent_interrupts--;
		}

		if ((isr & ISR_UPC) || (isr & ISR_UPCERR) ||