madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability

SVN-Revision: 12950
master
Felix Fietkau 16 years ago
parent 9220c452e5
commit d625fc88d3
  1. 2
      package/madwifi/patches/372-queue_vif.patch

@ -18,7 +18,7 @@
+ if (ret == NETDEV_TX_BUSY)
+ ieee80211_dev_kfree_skb(&skb1);
+
+ if (ret != NETDEV_TX_OK) {
+ else if (ret != NETDEV_TX_OK) {
/* If queue dropped the packet because device was
* too busy */
vap->iv_devstats.tx_dropped++;

Loading…
Cancel
Save