OSDN Git Service

staging: wfx: detect race condition in WEP authentication
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:14:37 +0000 (16:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:54:57 +0000 (15:54 +0100)
commit8608ecdba5ce98031237add7727f8b9df457e381
treef51958effc472f0c27974f092ddf70d1373b269f
parentd1fd97b4d843360863a7a7dcf3c7ea1b46e9f863
staging: wfx: detect race condition in WEP authentication

Current code has a special case to handle association with WEP. Before
to rework the tx data handling, let's try to detect any possible misuse
of this code.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-9-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/queue.c