]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: remove mwifiex_recv_complete function
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 12 May 2011 02:47:11 +0000 (19:47 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 May 2011 18:10:50 +0000 (14:10 -0400)
commitc6fb7607ebce35f996c6da23b93d8ad725585570
tree18fe8059db8e714e1ec9bb8308177b4af1d8c634
parent9ba7b19d31ddb6f3f0c55c81012280d1bfae7d73
mwifiex: remove mwifiex_recv_complete function

The function
- increments dropped rx_packet count if status code
  passed to it is "-1".
- frees SKB buffer.

But currently the function is being called with "0" status code.
This patch replaces above function by dev_kfree_skb_any() call.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cmdevt.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/util.c