wimax/i2400m: add reason argument to i2400m_dev_reset_handle()
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 14 Sep 2009 21:05:19 +0000 (14:05 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:56:01 +0000 (15:56 +0900)
commit3ef6129e57b04c116b1907b72c7a20720e6dde75
treea560950398c057010f9f591d10ed0dfe0eb8e98a
parentb0fbcb2a0b54ee201fa8af61fdebe14c050f18fe
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>
drivers/net/wimax/i2400m/driver.c
drivers/net/wimax/i2400m/i2400m.h
drivers/net/wimax/i2400m/sdio-rx.c
drivers/net/wimax/i2400m/usb-notif.c