Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 228553 | Differences between
and this patch

Collapse All | Expand All

(-)2008_0925_RT2870_Linux_STA_v1.4.0.0.orig/sta/sanity.c (-1 / +1 lines)
Lines 323-329 Link Here
323
323
324
    COPY_MAC_ADDR(pAddr2, pFrame->Hdr.Addr2);
324
    COPY_MAC_ADDR(pAddr2, pFrame->Hdr.Addr2);
325
325
326
    if ((pFrame->Octet[0] != IE_SSID) || (pFrame->Octet[1] > MAX_LEN_OF_SSID)) 
326
    if ((pFrame->Octet[0] != IE_SSID) || ((UCHAR)pFrame->Octet[1] > MAX_LEN_OF_SSID)) 
327
    {
327
    {
328
        DBGPRINT(RT_DEBUG_TRACE, ("PeerProbeReqSanity fail - wrong SSID IE(Type=%d,Len=%d)\n",pFrame->Octet[0],pFrame->Octet[1]));
328
        DBGPRINT(RT_DEBUG_TRACE, ("PeerProbeReqSanity fail - wrong SSID IE(Type=%d,Len=%d)\n",pFrame->Octet[0],pFrame->Octet[1]));
329
        return FALSE;
329
        return FALSE;

Return to bug 228553