|
@@ -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);
|
|
pch_can_set_run_mode(priv, PCH_CAN_STOP);
|
|
|
|
|
|
/* Indicate that we are aboutto/in suspend */
|
|
/* 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. */
|
|
/* Waiting for all transmission to complete. */
|
|
while (counter) {
|
|
while (counter) {
|