commit | 8311f0da95d483ceb76bafae6e0a8c90531fb577 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Wed Jun 20 20:21:13 2012 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Jun 22 13:59:50 2012 -0400 |
tree | 3f9e221fb532fa6b648f8115ee5d9d7429785d0a | |
parent | e80c81dc1416e326482c601af3a19d0f9989638e [diff] |
mwifiex: improve error path handling in usb.c skb allocated during initialisation is reused for receiving commands/events by USB interface. We miss to reset skb->data in failure cases. This patch takes care of it. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kiran Divekar <dkiran@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>