wifi: tiny mistake, shouldn't have broken much

This commit is contained in:
luigi__ 2010-04-19 11:39:50 +00:00
parent 562eefd1b5
commit 323db4cdf2
1 changed files with 2 additions and 2 deletions

View File

@ -2149,11 +2149,11 @@ INLINE void SoftAP_SendBeacon()
u64 timestamp = SoftAP.usecCounter;
*(u64*)&SoftAP.curPacket[12 + 24] = timestamp; // Timestamp
u16 rxflags = 0x0010;
u16 rxflags = 0x0011;
if (WIFI_compareMAC(wifiMac.bss.bytes, &SoftAP.curPacket[12 + 16]))
rxflags |= 0x8000;
WIFI_MakeRXHeader(SoftAP.curPacket, 0x8011, 20, packetLen, 0, 0);
WIFI_MakeRXHeader(SoftAP.curPacket, rxflags, 20, packetLen, 0, 0);
// Let's prepare to send
SoftAP.curPacketSize = packetLen + 12;