madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability
SVN-Revision: 12950
This commit is contained in:
parent
9220c452e5
commit
d625fc88d3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
+ if (ret == NETDEV_TX_BUSY)
|
+ if (ret == NETDEV_TX_BUSY)
|
||||||
+ ieee80211_dev_kfree_skb(&skb1);
|
+ ieee80211_dev_kfree_skb(&skb1);
|
||||||
+
|
+
|
||||||
+ if (ret != NETDEV_TX_OK) {
|
+ else if (ret != NETDEV_TX_OK) {
|
||||||
/* If queue dropped the packet because device was
|
/* If queue dropped the packet because device was
|
||||||
* too busy */
|
* too busy */
|
||||||
vap->iv_devstats.tx_dropped++;
|
vap->iv_devstats.tx_dropped++;
|
||||||
|
|
Loading…
Reference in a new issue