Skip to content

Commit

Permalink
Staging: sxg: Fix interface bug not working after open is called seco…
Browse files Browse the repository at this point in the history
…nd time.

Fix the problem of the interface not working after a sequence of up-down-up
events. The problem was observed only on systems where the card was using MSI-X
interrupts. On the second time open, the driver did not request MSI-X vector
but was trying to use normal interrupts.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mithlesh Thukral authored and gregkh committed Apr 3, 2009
1 parent aa1256e commit 544ed36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sxg/sxg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2254,7 +2254,7 @@ int sxg_second_open(struct net_device * dev)
SXG_ENABLE_ALL_INTERRUPTS(adapter);

netif_carrier_on(dev);
sxg_register_interrupt(adapter);
sxg_register_intr(adapter);
spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags);
return (STATUS_SUCCESS);

Expand Down

0 comments on commit 544ed36

Please sign in to comment.