Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337817
b: refs/heads/master
c: 2820663
h: refs/heads/master
i:
  337815: ca83169
v: v3
  • Loading branch information
Adil Mujeeb authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 924abc0 commit b369faa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 746f0c5a3ee43ff0628334a7f40fd41df8d87b24
refs/heads/master: 2820663c6f08f838398b0727773fb44e08876969
5 changes: 1 addition & 4 deletions trunk/drivers/staging/winbond/mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,8 @@ Mds_Tx(struct wbsoft_priv *adapter)
/* 931130.5.b */
FragmentCount = PacketSize/FragmentThreshold + 1;
stmp = PacketSize + FragmentCount*32 + 8; /* 931130.5.c 8:MIC */
if ((XmitBufSize + stmp) >= MAX_USB_TX_BUFFER) {
printk("[Mds_Tx] Excess max tx buffer.\n");
if ((XmitBufSize + stmp) >= MAX_USB_TX_BUFFER)
break; /* buffer is not enough */
}


/*
* Start transmitting
Expand Down

0 comments on commit b369faa

Please sign in to comment.