aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/usb-notif.c
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-09-14 17:05:19 -0400
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-19 02:56:01 -0400
commit3ef6129e57b04c116b1907b72c7a20720e6dde75 (patch)
treea560950398c057010f9f591d10ed0dfe0eb8e98a /drivers/net/wimax/i2400m/usb-notif.c
parentb0fbcb2a0b54ee201fa8af61fdebe14c050f18fe (diff)
wimax/i2400m: add reason argument to i2400m_dev_reset_handle()
In preparation for reset_resume support, in which the same code path is going to be used, add a diagnostic message to dev_reset_handle() that can be used to distinguish how the device got there. This uses the new payload argument added to i2400m_schedule_work() by the previous commit. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/usb-notif.c')
-rw-r--r--drivers/net/wimax/i2400m/usb-notif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/usb-notif.c b/drivers/net/wimax/i2400m/usb-notif.c
index a0751a347cdc..f88d1c6e35cb 100644
--- a/drivers/net/wimax/i2400m/usb-notif.c
+++ b/drivers/net/wimax/i2400m/usb-notif.c
@@ -98,7 +98,7 @@ int i2400mu_notification_grok(struct i2400mu *i2400mu, const void *buf,
98 } 98 }
99 ret = i2400m_is_boot_barker(i2400m, buf, buf_len); 99 ret = i2400m_is_boot_barker(i2400m, buf, buf_len);
100 if (unlikely(ret >= 0)) 100 if (unlikely(ret >= 0))
101 ret = i2400m_dev_reset_handle(i2400m); 101 ret = i2400m_dev_reset_handle(i2400m, "device rebooted");
102 else /* Unknown or unexpected data in the notif message */ 102 else /* Unknown or unexpected data in the notif message */
103 i2400m_unknown_barker(i2400m, buf, buf_len); 103 i2400m_unknown_barker(i2400m, buf, buf_len);
104error_bad_size: 104error_bad_size: