Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228017
b: refs/heads/master
c: 87cb9a6
h: refs/heads/master
i:
  228015: 633927c
v: v3
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Nov 10, 2010
1 parent 522c341 commit 9f14cf1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 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: 4d0d302257d3d0eccf371aab49c74b41797bebc3
refs/heads/master: 87cb9a6310bc5183de196b25ef6adfda3080a744
4 changes: 2 additions & 2 deletions trunk/drivers/staging/winbond/wb35rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static void Wb35Rx_Complete(struct urb *urb)
/* The IRP is completed */
pWb35Rx->EP3vm_state = VM_COMPLETED;

if (pHwData->SurpriseRemove || pHwData->HwStop) /* Must be here, or RxBufferId is invalid */
if (pHwData->SurpriseRemove) /* Must be here, or RxBufferId is invalid */
goto error;

if (pWb35Rx->rx_halt)
Expand Down Expand Up @@ -239,7 +239,7 @@ static void Wb35Rx(struct ieee80211_hw *hw)
u32 RxBufferId;

/* Issuing URB */
if (pHwData->SurpriseRemove || pHwData->HwStop)
if (pHwData->SurpriseRemove)
goto error;

if (pWb35Rx->rx_halt)
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/winbond/wb35tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static void Wb35Tx_complete(struct urb * pUrb)
pWb35Tx->TxSendIndex++;
pWb35Tx->TxSendIndex %= MAX_USB_TX_BUFFER_NUMBER;

if (pHwData->SurpriseRemove || pHwData->HwStop) // Let WbWlanHalt to handle surprise remove
if (pHwData->SurpriseRemove) // Let WbWlanHalt to handle surprise remove
goto error;

if (pWb35Tx->tx_halt)
Expand Down Expand Up @@ -74,7 +74,7 @@ static void Wb35Tx(struct wbsoft_priv *adapter)
u32 SendIndex;


if (pHwData->SurpriseRemove || pHwData->HwStop)
if (pHwData->SurpriseRemove)
goto cleanup;

if (pWb35Tx->tx_halt)
Expand Down Expand Up @@ -222,7 +222,7 @@ static void Wb35Tx_EP2VM_complete(struct urb * pUrb)
pWb35Tx->EP2VM_status = pUrb->status;

// For Linux 2.4. Interrupt will always trigger
if (pHwData->SurpriseRemove || pHwData->HwStop) // Let WbWlanHalt to handle surprise remove
if (pHwData->SurpriseRemove) // Let WbWlanHalt to handle surprise remove
goto error;

if (pWb35Tx->tx_halt)
Expand Down Expand Up @@ -263,7 +263,7 @@ static void Wb35Tx_EP2VM(struct wbsoft_priv *adapter)
u32 * pltmp = (u32 *)pWb35Tx->EP2_buf;
int retv;

if (pHwData->SurpriseRemove || pHwData->HwStop)
if (pHwData->SurpriseRemove)
goto error;

if (pWb35Tx->tx_halt)
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/winbond/wbhal.h
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,6 @@ struct hw_data {

/* For global timer */
u32 time_count; /* TICK_TIME_100ms 1 = 100ms */

/* For error recover */
u32 HwStop;
};

#endif

0 comments on commit 9f14cf1

Please sign in to comment.