Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337784
b: refs/heads/master
c: 70e2277
h: refs/heads/master
v: v3
  • Loading branch information
Malcolm Priestley authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 01b4851 commit 38f2b7e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 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: 1d651be13f59ddf706283eb61f2590aedd44cd2d
refs/heads/master: 70e227790d4ee4590023d8041a3485f8053593fc
20 changes: 11 additions & 9 deletions trunk/drivers/staging/vt6656/wcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,17 +316,19 @@ s_MgrMakeProbeRequest(
return pTxPacket;
}

void vCommandTimerWait(void *hDeviceContext, unsigned int MSecond)
void vCommandTimerWait(void *hDeviceContext, unsigned long MSecond)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
PSDevice pDevice = (PSDevice)hDeviceContext;

init_timer(&pDevice->sTimerCommand);
pDevice->sTimerCommand.data = (unsigned long)pDevice;
pDevice->sTimerCommand.function = (TimerFunction)vRunCommand;
// RUN_AT :1 msec ~= (HZ/1024)
pDevice->sTimerCommand.expires = (unsigned int)RUN_AT((MSecond * HZ) >> 10);
add_timer(&pDevice->sTimerCommand);
return;
init_timer(&pDevice->sTimerCommand);

pDevice->sTimerCommand.data = (unsigned long)pDevice;
pDevice->sTimerCommand.function = (TimerFunction)vRunCommand;
pDevice->sTimerCommand.expires = RUN_AT((MSecond * HZ) / 1000);

add_timer(&pDevice->sTimerCommand);

return;
}

void vRunCommand(void *hDeviceContext)
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6656/wpa2.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ typedef struct tagsPMKIDInfo {
} PMKIDInfo, *PPMKIDInfo;

typedef struct tagSPMKIDCache {
unsigned long BSSIDInfoCount;
PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
u32 BSSIDInfoCount;
PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
} SPMKIDCache, *PSPMKIDCache;


Expand Down

0 comments on commit 38f2b7e

Please sign in to comment.