Return-path: Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:2294 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758209AbaJ3KBJ (ORCPT ); Thu, 30 Oct 2014 06:01:09 -0400 From: Amitkumar Karwar To: Belisko Marek CC: "linux-wireless@vger.kernel.org" , Avinash Patil Date: Thu, 30 Oct 2014 03:01:03 -0700 Subject: RE: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz Message-ID: <5FF020A1CFFEEC49BD1E09530C4FF5951821B4843B@SC-VEXCH1.marvell.com> (sfid-20141030_110115_714156_CCB0DDDC) References: <5FF020A1CFFEEC49BD1E09530C4FF5951819DB12F1@SC-VEXCH1.marvell.com> <5FF020A1CFFEEC49BD1E09530C4FF5951821351855@SC-VEXCH1.marvell.com> <5FF020A1CFFEEC49BD1E09530C4FF5951821936285@SC-VEXCH1.marvell.com> <5FF020A1CFFEEC49BD1E09530C4FF5951821936BBC@SC-VEXCH1.marvell.com> <5FF020A1CFFEEC49BD1E09530C4FF5951821936F03@SC-VEXCH1.marvell.com> <5FF020A1CFFEEC49BD1E09530C4FF5951821545AE6@SC-VEXCH1.marvell.com> <5FF020A1CFFEEC49BD1E09530C4FF5951821B47FD7@SC-VEXCH1.marvell.com> In-Reply-To: Content-Type: multipart/mixed; boundary="_002_5FF020A1CFFEEC49BD1E09530C4FF5951821B4843BSCVEXCH1marve_" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: --_002_5FF020A1CFFEEC49BD1E09530C4FF5951821B4843BSCVEXCH1marve_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgTWFyZWssDQoNClRoYW5rcyBhIGxvdCBmb3IgdGVzdGluZy4gSSBoYXZlIGFkZGVkIGZsb3cg Y29udHJvbCBsb2dpYyB0byBsaW1pdCBwZW5kaW5nIFJ4IHBhY2tldHMuIENvdWxkIHlvdSBwbGVh c2UgY2hlY2sgaWYgYXR0YWNoZWQgcGF0Y2ggZml4ZXMgb3V0IG9mIG1lbW9yeSBpc3N1ZT8NCllv dSBjYW4gYWxzbyBiYWNrcG9ydCBiZWxvdyBwYXRjaCB0byB5b3VyIDMuOSBrZXJuZWwgZm9yIHJ4 X3BlbmRpbmcgY291bnQgaW1iYWxhbmNlIGlzc3VlLg0KDQpodHRwOi8vd3d3LnNwaW5pY3MubmV0 L2xpc3RzL2xpbnV4LXdpcmVsZXNzL21zZzExNTUzNi5odG1sDQoNCllvdXIgaGFja3MgdG8gZGVj cmVtZW50IHJ4X3BlbmRpbmcgY291bnQgd29uJ3QgYmUgbmVlZGVkIG5vdy4NCg0KUmVnYXJkcywN CkFtaXRrdW1hcg0K --_002_5FF020A1CFFEEC49BD1E09530C4FF5951821B4843BSCVEXCH1marve_ Content-Type: application/octet-stream; name="0001-mwifiex-add-flow-control-logic-to-Rx-data-on-USB-int.patch" Content-Description: 0001-mwifiex-add-flow-control-logic-to-Rx-data-on-USB-int.patch Content-Disposition: attachment; filename="0001-mwifiex-add-flow-control-logic-to-Rx-data-on-USB-int.patch"; size=3524; creation-date="Thu, 30 Oct 2014 09:54:43 GMT"; modification-date="Thu, 30 Oct 2014 09:54:43 GMT" Content-Transfer-Encoding: base64 RnJvbSAzZDVhOTFmYThiMTdhMDYzNDI3NmQzMmIyYjQwYTg0N2E2ZjYyNzlkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbWl0a3VtYXIgS2Fyd2FyIDxha2Fyd2FyQG1hcnZlbGwuY29t PgpEYXRlOiBUaHUsIDMwIE9jdCAyMDE0IDAxOjI4OjEwIC0wNzAwClN1YmplY3Q6IFtQQVRDSF0g bXdpZmlleDogYWRkIGZsb3cgY29udHJvbCBsb2dpYyB0byBSeCBkYXRhIG9uIFVTQiBpbnRlcmZh Y2UKClNpZ25lZC1vZmYtYnk6IEFtaXRrdW1hciBLYXJ3YXIgPGFrYXJ3YXJAbWFydmVsbC5jb20+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