Skip to content

Commit

Permalink
pch_can: Fix miss-setting status issue
Browse files Browse the repository at this point in the history
Modify miss-setting status issue at suspend.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Tomoya authored and David S. Miller committed Dec 13, 2010
1 parent 0e0805c commit d06848b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/can/pch_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ static int pch_can_suspend(struct pci_dev *pdev, pm_message_t state)
pch_can_set_run_mode(priv, PCH_CAN_STOP);

/* Indicate that we are aboutto/in suspend */
priv->can.state = CAN_STATE_SLEEPING;
priv->can.state = CAN_STATE_STOPPED;

/* Waiting for all transmission to complete. */
while (counter) {
Expand Down

0 comments on commit d06848b

Please sign in to comment.