[drivers rtl8180] Only report TX status once per packet
[people/oremanj/gpxe.git] / src / drivers / net / rtl818x / rtl8180.c
index d97cafd..7910df6 100644 (file)
@@ -123,7 +123,7 @@ static void rtl8180_handle_tx(struct net80211_device *dev)
                u32 flags = le32_to_cpu(entry->flags);
                int rc;
 
-               if (flags & RTL818X_TX_DESC_FLAG_OWN)
+               if ((flags & RTL818X_TX_DESC_FLAG_OWN) || !iob)
                        return;
 
                rc = 0;