mwifiex: recover from skb allocation failures during RX
authorZhaoyang Liu <liuzy@marvell.com>
Mon, 23 Mar 2015 14:20:56 +0000 (19:50 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Mar 2015 08:34:51 +0000 (11:34 +0300)
This patch adds recovery mechanism for SDIO RX during SKB allocation
failures.
For allocation failures during multiport aggregation, we skip and drop RX
packets.
For single port read case, we will use preallocated card->mpa_rx.buf to
complete cmd53 read.
Now we terminate SDIO operations only upon cmd53 failures.

CC: James Cameron <quozl@laptop.org>
Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/sdio.c

Simple merge