Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159257
b: refs/heads/master
c: 21f5fc7
h: refs/heads/master
i:
  159255: f4f7893
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Jul 27, 2009
1 parent 5a0d237 commit 394aa0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac88b6ecdfa629fd1261dab1504d78a56fd4cabf
refs/heads/master: 21f5fc75deca63bc41c9d13007d35981d4485622
6 changes: 4 additions & 2 deletions trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1170,13 +1170,15 @@ static int __ieee80211_tx(struct ieee80211_local *local,
}

ret = drv_tx(local, skb);
info->control.vif = &sdata->vif;
if (WARN_ON(ret != NETDEV_TX_OK && skb->len != len)) {
dev_kfree_skb(skb);
ret = NETDEV_TX_OK;
}
if (ret != NETDEV_TX_OK)
if (ret != NETDEV_TX_OK) {
info->control.vif = &sdata->vif;
return IEEE80211_TX_AGAIN;
}

*skbp = skb = next;
ieee80211_led_tx(local, 1);
fragm = true;
Expand Down

0 comments on commit 394aa0b

Please sign in to comment.