]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cdc_ether: fix autosuspend for mbm devices
authorTorgny Johansson <torgny.johansson@ericsson.com>
Wed, 28 Apr 2010 00:07:40 +0000 (17:07 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:02:56 +0000 (15:02 -0700)
commit5b0dede91684c855ab8e6abe7fa3513282f60fb6
treece193fb238c5c9209fc551cb431b2b82c65ff68a
parent2afddab2958e63289a538985bfd8b584502de37b
cdc_ether: fix autosuspend for mbm devices

[ Upstream commit 55964d72d63b15df49a5df11ef91dc8601270815 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/usb/cdc_ether.c