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

Commit 524ca9c1 authored by Mithlesh Thukral's avatar Mithlesh Thukral Committed by Greg Kroah-Hartman
Browse files

Staging: sxg: Fix a warning dump emitted by rtnl_watchdog during LTP tests



Fix a softlock warning message thrown up by the rtnl_timer.
This was observed during the LTP tests (interface up/down test)

Signed-off-by: default avatarLinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: default avatarMithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b9346e0f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2258,7 +2258,6 @@ int sxg_second_open(struct net_device * dev)
        /* Re-enable interrupts */
        SXG_ENABLE_ALL_INTERRUPTS(adapter);

	netif_carrier_on(dev);
	sxg_register_intr(adapter);
	spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags);
	return (STATUS_SUCCESS);
@@ -2329,7 +2328,6 @@ static int sxg_entry_halt(struct net_device *dev)
	/* Disable interrupts */
	SXG_DISABLE_ALL_INTERRUPTS(adapter);

	netif_carrier_off(dev);
	spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags);

	sxg_deregister_interrupt(adapter);