From: Christian Lamparter Date: Fri, 11 Mar 2011 23:01:26 +0000 (+0100) Subject: carl9170 firmware: fix uninitialized txfail variable X-Git-Tag: 1.9.4~24 X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=65e93c4ca3587d9007e87653f9436463d2823530 carl9170 firmware: fix uninitialized txfail variable Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/wlan.c b/carlfw/src/wlan.c index b81b74f..ec50e6c 100644 --- a/carlfw/src/wlan.c +++ b/carlfw/src/wlan.c @@ -358,7 +358,7 @@ static bool wlan_tx_status(struct dma_queue *queue, { struct carl9170_tx_superframe *super = get_super(desc); unsigned int qidx = super->s.queue; - bool txfail, success; + bool txfail = false, success; success = true;