Date: Tue, 12 Oct 2010 17:12:35 +0000 (UTC) From: Bernhard Schmidt <bschmidt@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/iwi if_iwi.c Message-ID: <201010121712.o9CHCox5000694@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bschmidt 2010-10-12 17:12:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/iwi if_iwi.c Log: SVN rev 213734 on 2010-10-12 17:12:35Z by bschmidt When bringing the interface down we clear the command queue but do not reset the sc_cmd_cur and sc_cmd_next indices. If there are still pending commands while clearing the queue those two indices are off by at least one. This leads to no commands being sent to the firmware until the queue overruns. Fix this by also resetting the indices. This is a direct commit as the code does not exist in head. Revision Changes Path 1.57.2.3 +1 -0 src/sys/dev/iwi/if_iwi.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010121712.o9CHCox5000694>