Re: [PATCH] usb: hub: judge BOS field in usb_reset_and_verify_device()

2017-05-02 Thread jianxing
>That check was added recently with 7b2db29fbb4e7, which also explains how it >can happen. Question here is if the problem with intel-3165-wifi was seen >on a kernel which doesn't have that patch. @Guenter Roeck, Thanks for your reminding,I didn't see your patch. I just do test with kernel-4.10,

Re: [PATCH] usb: hub: judge BOS field in usb_reset_and_verify_device()

2017-05-02 Thread Guenter Roeck
On 05/02/2017 06:19 AM, Greg KH wrote: On Tue, May 02, 2017 at 02:31:40PM +0800, wangjianxing5...@163.com wrote: From: "Jianxing.Wang" When notebook with intel-3165-wifi suspend and resume,crash for udev->bos is NULL. I'm sorry, I don't understand, how can udev->bos be NULL here? Why does t

Re: [PATCH] usb: hub: judge BOS field in usb_reset_and_verify_device()

2017-05-02 Thread Greg KH
On Tue, May 02, 2017 at 02:31:40PM +0800, wangjianxing5...@163.com wrote: > From: "Jianxing.Wang" > > When notebook with intel-3165-wifi suspend and resume,crash for > udev->bos is NULL. I'm sorry, I don't understand, how can udev->bos be NULL here? Why does the wifi device matter to the USB de

[PATCH] usb: hub: judge BOS field in usb_reset_and_verify_device()

2017-05-01 Thread wangjianxing5210
From: "Jianxing.Wang" When notebook with intel-3165-wifi suspend and resume,crash for udev->bos is NULL. Signed-off-by: Jianxing.Wang --- drivers/usb/core/hub.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index