diff options
Diffstat (limited to 'drivers/usb/atm')
-rw-r--r-- | drivers/usb/atm/ueagle-atm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c index f5434b1cbb1e..68b5d0dd4f98 100644 --- a/drivers/usb/atm/ueagle-atm.c +++ b/drivers/usb/atm/ueagle-atm.c | |||
@@ -1173,6 +1173,9 @@ static int uea_kthread(void *data) | |||
1173 | ret = uea_stat(sc); | 1173 | ret = uea_stat(sc); |
1174 | if (ret != -EAGAIN) | 1174 | if (ret != -EAGAIN) |
1175 | msleep(1000); | 1175 | msleep(1000); |
1176 | if (try_to_freeze()) | ||
1177 | uea_err(INS_TO_USBDEV(sc), "suspend/resume not supported, " | ||
1178 | "please unplug/replug your modem\n"); | ||
1176 | } | 1179 | } |
1177 | uea_leaves(INS_TO_USBDEV(sc)); | 1180 | uea_leaves(INS_TO_USBDEV(sc)); |
1178 | return ret; | 1181 | return ret; |