Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170903
b: refs/heads/master
c: 3b4be9e
h: refs/heads/master
i:
  170901: 6a9e4e3
  170899: eaeccaf
  170895: 81018a5
v: v3
  • Loading branch information
Juuso Oikarinen authored and John W. Linville committed Oct 27, 2009
1 parent 356e325 commit ffed8ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 9d565973deb09479de5eed7a5b6594428dc49dde
refs/heads/master: 3b4be9e08abd8c390d13001f5dd55f64afa5ab93
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/wl12xx/wl1271_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static int wl1271_tx_allocate(struct wl1271 *wl, struct sk_buff *skb, u32 extra)
/* approximate the number of blocks required for this packet
in the firmware */
/* FIXME: try to figure out what is done here and make it cleaner */
total_blocks = (skb->len) >> TX_HW_BLOCK_SHIFT_DIV;
total_blocks = (total_len) >> TX_HW_BLOCK_SHIFT_DIV;
excluded = (total_blocks << 2) + (skb->len & 0xff) + 34;
total_blocks += (excluded > 252) ? 2 : 1;
total_blocks += TX_HW_BLOCK_SPARE;
Expand Down

0 comments on commit ffed8ad

Please sign in to comment.