wimax/i2400m: on device stop, clean up pending wake & TX work
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Wed, 16 Sep 2009 23:30:39 +0000 (16:30 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:56:05 +0000 (15:56 +0900)
commitac53aed9349242095a780f57ac0c995fb170c950
tree2962df61c6bdee9f184bb278a8b25b4c5a6d219d
parentcb5b756f746b77c5323ae413a41e9a40ea33c453
wimax/i2400m: on device stop, clean up pending wake & TX work

When the i2400m device needs to wake up an idle WiMAX connection, it
schedules a workqueue job to do it.

Currently, only when the network stack called the _stop() method this
work struct was being cancelled. This has to be done every time the
device is stopped.

So add a call in i2400m_dev_stop() to take care of such cleanup, which
is now wrapped in i2400m_net_wake_stop().

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/netdev.c