staging: nvec: Handle filled up RX buffers
authorJulian Andres Klode <jak@jak-linux.org>
Tue, 27 Sep 2011 17:01:00 +0000 (19:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Sep 2011 00:41:37 +0000 (17:41 -0700)
commit8da798634343de8dbb8c1593923f8368db69f838
treed1be25cf1ce87714c46cfda17e2af29726108f34
parentbb0590e2723eed53b524d61cf011d53fc7280949
staging: nvec: Handle filled up RX buffers

If no RX buffer is available in state 1, jump to state
0 again. This will produce an incredible amount of
warnings, but it is not supposed to happen anyway.

Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/nvec/nvec.c