diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-09-14 17:05:19 -0400 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-10-19 02:56:01 -0400 |
commit | 3ef6129e57b04c116b1907b72c7a20720e6dde75 (patch) | |
tree | a560950398c057010f9f591d10ed0dfe0eb8e98a /drivers/net/wimax/i2400m/sdio-rx.c | |
parent | b0fbcb2a0b54ee201fa8af61fdebe14c050f18fe (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/sdio-rx.c')
-rw-r--r-- | drivers/net/wimax/i2400m/sdio-rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/sdio-rx.c b/drivers/net/wimax/i2400m/sdio-rx.c index 87263be4eedb..98ee7fdfd621 100644 --- a/drivers/net/wimax/i2400m/sdio-rx.c +++ b/drivers/net/wimax/i2400m/sdio-rx.c | |||
@@ -179,7 +179,7 @@ void i2400ms_rx(struct i2400ms *i2400ms) | |||
179 | i2400m_rx(i2400m, skb); | 179 | i2400m_rx(i2400m, skb); |
180 | } else if (unlikely(i2400m_is_boot_barker(i2400m, | 180 | } else if (unlikely(i2400m_is_boot_barker(i2400m, |
181 | skb->data, rx_size))) { | 181 | skb->data, rx_size))) { |
182 | ret = i2400m_dev_reset_handle(i2400m); | 182 | ret = i2400m_dev_reset_handle(i2400m, "device rebooted"); |
183 | dev_err(dev, "RX: SDIO reboot barker\n"); | 183 | dev_err(dev, "RX: SDIO reboot barker\n"); |
184 | kfree_skb(skb); | 184 | kfree_skb(skb); |
185 | } else { | 185 | } else { |