mwifiex: delay skb allocation for RX until cmd53 over
authorZhaoyang Liu <liuzy@marvell.com>
Fri, 13 Mar 2015 12:07:59 +0000 (17:37 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 16 Mar 2015 16:12:41 +0000 (18:12 +0200)
commit960d6d08e395d5441d53caa21083c0b6d38995f9
tree547cc80e8509e9c37289412c0acc2a8be38810d1
parent92263a841b1502d2ef19199deaa669fe4c0102e9
mwifiex: delay skb allocation for RX until cmd53 over

This patch moves SKB allocation for RX packets from current
place i.e. after reading MP regs to place where we already
have read data from SDIO bus ie after cmd53.

mp_rx_aggr_setup has been modified accordingly to set
skb_arr to NULL.

Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Shengzhen Li <szli@marvell.com>
Reviewed-by: Amitkumar Karwar <akarwar@marvell.com>
Reviewed-by: Cathy Luo <cluo@marvell.com>
Reviewed-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/sdio.c
drivers/net/wireless/mwifiex/sdio.h