carl9170 firmware: fix uninitialized txfail variable
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 11 Mar 2011 23:01:26 +0000 (00:01 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 11 Mar 2011 23:01:26 +0000 (00:01 +0100)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/wlan.c

index b81b74f687941c330d872dc7f8974f7eccd6fbf2..ec50e6c82cefb564febe5203b7d0506ea709ba5d 100644 (file)
@@ -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;