Re: [PATCH] usbnet/cdc_ncm: add missing .reset_resume hook

From: Stefan (metze) Metzmacher
Date: Wed Jun 01 2011 - 06:03:59 EST


Am 01.06.2011 11:43, schrieb Oliver Neukum:
> Am Mittwoch, 1. Juni 2011, 11:13:50 schrieb Stefan Metzmacher:
>> This avoids messages like this after suspend:
>>
>> cdc_ncm 2-1.4:1.6: no reset_resume for driver cdc_ncm?
>> cdc_ncm 2-1.4:1.7: no reset_resume for driver cdc_ncm?
>> cdc_ncm 2-1.4:1.6: usb0: unregister 'cdc_ncm' usb-0000:00:1d.0-1.4, CDC NCM
>>
>> This is important for the Ericsson F5521gw GSM/UMTS modem.
>> Otherwise modemmanager looses the fact that the cdc_ncm and cdc_acm devices
>> belong together.
>>
>> The cdc_ether module does the same.
>
> Yes, it does. Have you tested this with active connections and unconnected?

Yes, I've just tested suspend while having an active connection
(My original tests where without an active connection).

BTW: I'm testing this on top of linux-image-2.6.38-8-generic from ubuntu
11.04.

metze

Attachment: signature.asc
Description: OpenPGP digital signature