mwifiex: reduce cloned skb queue size
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 31 Dec 2015 14:24:15 +0000 (06:24 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Jan 2016 09:14:06 +0000 (11:14 +0200)
commitee548d4b1036aaba290a4eec68ba11590ad9cc73
treea6f9ce1342b4d6a370df77f561d69626c49d4005
parent91442431c3f90d69e73f776847058d1ab2efdad1
mwifiex: reduce cloned skb queue size

Driver supports Tx status ack feature. When hostapd/
wpa_supplicant asks for ack status of an EAPOL/ACTION
frame, driver maintains a cloned skb for the packet
until TX_STATUS event is received from firmware.

Cloned skb queue gets flushed when connection is terminated
or driver is unloaded.

Let's reduce the queue size to avoid unnecessarily
keeping memory allocated when environment is busy.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.c