cdc_ether: fix autosuspend for mbm devices
authorTorgny Johansson <torgny.johansson@ericsson.com>
Wed, 28 Apr 2010 00:07:40 +0000 (17:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 00:07:40 +0000 (17:07 -0700)
commit55964d72d63b15df49a5df11ef91dc8601270815
tree69f78c30a50d0575b18b4f11646ffc7411c0f14d
parent477fffb082920476cc26f238d65538ccb8d601e1
cdc_ether: fix autosuspend for mbm devices

Autosuspend works until you bring the wwan interface up, then the
device does not enter autosuspend anymore.

The following patch fixes the problem by setting the .manage_power
field in the mbm_info struct to the same as in the cdc_info struct
(cdc_manager_power).

Signed-off-by: Torgny Johansson <torgny.johansson@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c