1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 13:11:09 +02:00

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12950 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-10-11 01:56:27 +00:00
parent 8f32d322ca
commit c1fc2dd11e

View File

@ -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++;