staging: w35und: Use NETDEV_TX_BUSY if MLMESendFrame fails
authorPekka Enberg <penberg@kernel.org>
Sun, 19 Sep 2010 10:01:02 +0000 (13:01 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 17:46:03 +0000 (10:46 -0700)
commit80a284bd154ee3a9d38ee9c264a3a2bf6114385e
tree2e45c166f005b365323185995b94494c22382a1c
parentff80d13fc45b97bb06dcb57036c768c8d3674d7d
staging: w35und: Use NETDEV_TX_BUSY if MLMESendFrame fails

This patch changes MLMESendFrame to return NETDEV_TX_BUSY if MLME frame is in
use so that wbsoft_tx() doesn't blindly return NETDEV_TX_OK in that case.

Cc: Sandro Bonazzola <sandro.bonazzola@gmail.com>
Cc: Lars Lindley <lindley@coyote.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/mlmetxrx.c
drivers/staging/winbond/mlmetxrx_f.h
drivers/staging/winbond/wbusb.c