linux/drivers/net/wireless/wl12xx
Juuso Oikarinen fb2382c75b wl1271: Fix RX path stall
The wl1271_rx function loops through packets in an aggregated buffer. Each
packet in the buffer is handled by a call to wl1271_rx_handle_data, which will
fail if skb memory allocation fails or production mode is enabled. These
failures currently prevent the rx counters to be incremented, thus causing the
rx loop to run forever.

Fix this by ignoring error codes reported wl1271_rx_handle_data function.
This essentially means that frames will be dropped in production mode, which
is the intetion, and frames will be dropped if memory allocation fails, which
is a decent way to recover from that situation.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Tested-by: Tuomas Katila <ext-tuomas.2.katila@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
2010-11-15 13:25:17 -05:00
..
Kconfig wl1271: 11n Support, functionality and configuration ability 2010-11-15 13:25:12 -05:00
Makefile wl1251: move to it's own directory 2010-10-11 15:04:23 -04:00
wl12xx_80211.h
wl12xx_platform_data.c wl12xx: add platform data passing support 2010-09-21 11:04:57 -04:00
wl1271_acx.c wl1271: 11n Support, ACX Commands 2010-11-15 13:25:10 -05:00
wl1271_acx.h wl1271: 11n Support, ACX Commands 2010-11-15 13:25:10 -05:00
wl1271_boot.c wl1271: ref_clock cosmetic changes 2010-11-15 13:25:02 -05:00
wl1271_boot.h wl1271: make ref_clock configurable by board 2010-09-21 11:05:00 -04:00
wl1271_cmd.c wl1271: Support FEM autodetection 2010-10-07 14:41:27 -04:00
wl1271_cmd.h wl1271: remove deprecated __attribute__ ((packed)) 2010-10-05 16:27:53 +03:00
wl1271_conf.h wl1271: Add extended radio parameter initialization 2010-10-05 16:27:48 +03:00
wl1271_debugfs.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
wl1271_debugfs.h
wl1271_event.c wireless/wl1271: remove redundant if-statement v2 2010-11-15 13:25:16 -05:00
wl1271_event.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-07-13 15:57:29 -04:00
wl1271_ini.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-06-11 11:34:06 -07:00
wl1271_init.c wl1271: Add extended radio parameter initialization 2010-10-05 16:27:48 +03:00
wl1271_init.h
wl1271_io.c
wl1271_io.h wl1271: propagate set_power's return value 2010-09-21 11:04:56 -04:00
wl1271_main.c wl1271: Fix warning about unsupported RX rate 2010-11-15 13:25:13 -05:00
wl1271_ps.c wl1271: Add hardware recovery mechanism 2010-09-28 12:30:04 +03:00
wl1271_ps.h wl1271: Reduce rate used for last PSM entry attempt 2010-09-28 12:15:11 +03:00
wl1271_reg.h
wl1271_rx.c wl1271: Fix RX path stall 2010-11-15 13:25:17 -05:00
wl1271_rx.h wl1271: Fix warning about unsupported RX rate 2010-11-15 13:25:13 -05:00
wl1271_scan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-10-08 15:39:28 -04:00
wl1271_scan.h wl1271: Optimize scan duration 2010-09-28 12:30:06 +03:00
wl1271_sdio.c wl1271: sdio: add suspend/resume support 2010-10-08 16:16:27 +03:00
wl1271_spi.c wl1271: Handle large SPI transfers 2010-10-05 16:27:24 +03:00
wl1271_testmode.c wl1271: Enable/disable 11a support based on INI configuration 2010-09-28 12:15:10 +03:00
wl1271_testmode.h
wl1271_tx.c wl1271: exit ELP mode when setting enabled rates in tx 2010-11-15 13:25:14 -05:00
wl1271_tx.h wl1271: Fix warning about unsupported RX rate 2010-11-15 13:25:13 -05:00
wl1271.h wl1271: 11n Support, Add Definitions 2010-11-15 13:25:09 -05:00