]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/bcm43xx/bcm43xx_main.c
bcm43xx: Fix for oops on ampdu status
[karo-tx-linux.git] / drivers / net / wireless / bcm43xx / bcm43xx_main.c
index 91b752e3d07e104f10673f35fc8aee2aa5199df8..bbe0e0d257cc5b07260a65c1ebfc43bb2cf5c4ea 100644 (file)
@@ -1453,12 +1453,10 @@ static void handle_irq_transmit_status(struct bcm43xx_private *bcm)
 
                bcm43xx_debugfs_log_txstat(bcm, &stat);
 
-               if (stat.flags & BCM43xx_TXSTAT_FLAG_IGNORE)
+               if (stat.flags & BCM43xx_TXSTAT_FLAG_AMPDU)
+                       continue;
+               if (stat.flags & BCM43xx_TXSTAT_FLAG_INTER)
                        continue;
-               if (!(stat.flags & BCM43xx_TXSTAT_FLAG_ACK)) {
-                       //TODO: packet was not acked (was lost)
-               }
-               //TODO: There are more (unknown) flags to test. see bcm43xx_main.h
 
                if (bcm43xx_using_pio(bcm))
                        bcm43xx_pio_handle_xmitstatus(bcm, &stat);