aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm/speedtch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/atm/speedtch.c')
-rw-r--r--drivers/usb/atm/speedtch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c
index 1335456b4f93..80f9617d3a15 100644
--- a/drivers/usb/atm/speedtch.c
+++ b/drivers/usb/atm/speedtch.c
@@ -525,7 +525,7 @@ static void speedtch_check_status(struct work_struct *work)
525 525
526 switch (status) { 526 switch (status) {
527 case 0: 527 case 0:
528 atm_dev->signal = ATM_PHY_SIG_LOST; 528 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST);
529 if (instance->last_status) 529 if (instance->last_status)
530 atm_info(usbatm, "ADSL line is down\n"); 530 atm_info(usbatm, "ADSL line is down\n");
531 /* It may never resync again unless we ask it to... */ 531 /* It may never resync again unless we ask it to... */
@@ -533,12 +533,12 @@ static void speedtch_check_status(struct work_struct *work)
533 break; 533 break;
534 534
535 case 0x08: 535 case 0x08:
536 atm_dev->signal = ATM_PHY_SIG_UNKNOWN; 536 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_UNKNOWN);
537 atm_info(usbatm, "ADSL line is blocked?\n"); 537 atm_info(usbatm, "ADSL line is blocked?\n");
538 break; 538 break;
539 539
540 case 0x10: 540 case 0x10:
541 atm_dev->signal = ATM_PHY_SIG_LOST; 541 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST);
542 atm_info(usbatm, "ADSL line is synchronising\n"); 542 atm_info(usbatm, "ADSL line is synchronising\n");
543 break; 543 break;
544 544
@@ -554,7 +554,7 @@ static void speedtch_check_status(struct work_struct *work)
554 } 554 }
555 555
556 atm_dev->link_rate = down_speed * 1000 / 424; 556 atm_dev->link_rate = down_speed * 1000 / 424;
557 atm_dev->signal = ATM_PHY_SIG_FOUND; 557 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_FOUND);
558 558
559 atm_info(usbatm, 559 atm_info(usbatm,
560 "ADSL line is up (%d kb/s down | %d kb/s up)\n", 560 "ADSL line is up (%d kb/s down | %d kb/s up)\n",
@@ -562,7 +562,7 @@ static void speedtch_check_status(struct work_struct *work)
562 break; 562 break;
563 563
564 default: 564 default:
565 atm_dev->signal = ATM_PHY_SIG_UNKNOWN; 565 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_UNKNOWN);
566 atm_info(usbatm, "unknown line state %02x\n", status); 566 atm_info(usbatm, "unknown line state %02x\n", status);
567 break; 567 break;
568 } 568 }