Skip to content

Commit

Permalink
cdc_ether: fix autosuspend for mbm devices
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Torgny Johansson authored and davem330 committed Apr 28, 2010
1 parent 477fffb commit 55964d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/usb/cdc_ether.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ static const struct driver_info mbm_info = {
.bind = cdc_bind,
.unbind = usbnet_cdc_unbind,
.status = cdc_status,
.manage_power = cdc_manage_power,
};

/*-------------------------------------------------------------------------*/
Expand Down

0 comments on commit 55964d7

Please sign in to comment.