Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236058
b: refs/heads/master
c: 774c1fe
h: refs/heads/master
v: v3
  • Loading branch information
Vipin Mehta authored and Greg Kroah-Hartman committed Feb 18, 2011
1 parent 6e425d9 commit 927ff92
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fb9b548717444c82eb2d196c91729421ee68d4be
refs/heads/master: 774c1fe2fe9f14c657deb63705ef044f7af9a6cb
9 changes: 9 additions & 0 deletions trunk/drivers/staging/ath6kl/htc2/AR6000/ar6k.c
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,15 @@ static int DevSetupVirtualScatterSupport(AR6K_DEVICE *pDev)
return status;
}

int DevCleanupMsgBundling(AR6K_DEVICE *pDev)
{
if(NULL != pDev)
{
DevCleanupVirtualScatterSupport(pDev);
}

return 0;
}

int DevSetupMsgBundling(AR6K_DEVICE *pDev, int MaxMsgsPerTransfer)
{
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/staging/ath6kl/htc2/AR6000/ar6k.h
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ static INLINE int DEV_PREPARE_SCATTER_OPERATION(HIF_SCATTER_REQ *pReq) {


int DevSetupMsgBundling(AR6K_DEVICE *pDev, int MaxMsgsPerTransfer);

int DevCleanupMsgBundling(AR6K_DEVICE *pDev);

#define DEV_GET_MAX_MSG_PER_BUNDLE(pDev) (pDev)->HifScatterInfo.MaxScatterEntries
#define DEV_GET_MAX_BUNDLE_LENGTH(pDev) (pDev)->HifScatterInfo.MaxTransferSizePerScatterReq
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/staging/ath6kl/htc2/htc.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ void HTCStop(HTC_HANDLE HTCHandle)
/* flush all recv buffers */
HTCFlushRecvBuffers(target);

DevCleanupMsgBundling(&target->Device);

ResetEndpointStates(target);

AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("-HTCStop \n"));
Expand Down

0 comments on commit 927ff92

Please sign in to comment.