Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111766
b: refs/heads/master
c: bb55b32
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Sep 23, 2008
1 parent e40ccdb commit 4d8aa09
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: 6a19309db0a02d821494f4df754046c85a230627
refs/heads/master: bb55b327cb7638d5b5320c766950bfb328636e9f
2 changes: 1 addition & 1 deletion trunk/drivers/net/wan/sbni.c
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ prepare_to_send( struct sk_buff *skb, struct net_device *dev )
len = SBNI_MIN_LEN;

nl->tx_buf_p = skb;
nl->tx_frameno = (len + nl->maxframe - 1) / nl->maxframe;
nl->tx_frameno = DIV_ROUND_UP(len, nl->maxframe);
nl->framelen = len < nl->maxframe ? len : nl->maxframe;

outb( inb( dev->base_addr + CSR0 ) | TR_REQ, dev->base_addr + CSR0 );
Expand Down

0 comments on commit 4d8aa09

Please sign in to comment.