fix (new?) wifi crash

This commit is contained in:
zeromus 2009-06-02 04:32:21 +00:00
parent 19fa692af8
commit 43b31e3f0c
1 changed files with 1 additions and 0 deletions

View File

@ -1507,6 +1507,7 @@ void WIFI_SoftAP_usTrigger(wifimac_t *wifi)
wifi->SoftAP.curPacketSending = FALSE; wifi->SoftAP.curPacketSending = FALSE;
delete wifi->SoftAP.curPacket; delete wifi->SoftAP.curPacket;
wifi->SoftAP.curPacket = NULL;
wifi->RXHWWriteCursorReg = ((wifi->RXHWWriteCursor + 1) & (~1)); wifi->RXHWWriteCursorReg = ((wifi->RXHWWriteCursor + 1) & (~1));