Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162461
b: refs/heads/master
c: a0f2906
h: refs/heads/master
i:
  162459: fc7b196
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent dcdee78 commit b139024
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 7e514725c8fe3128dee131a8d4ee23545c3e8c1f
refs/heads/master: a0f2906f3385cfb84a6ec6b0c2c0c028dcc8cfde
6 changes: 0 additions & 6 deletions trunk/drivers/staging/rt2860/sta/assoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,7 @@ VOID MlmeAssocReqAction(
RSNIe = IE_WPA2;
}

#ifdef RT30xx
if (pAd->StaCfg.WpaSupplicantUP != 1)
#endif
RTMPMakeRSNIE(pAd, pAd->StaCfg.AuthMode, pAd->StaCfg.WepStatus, BSS0);

// Check for WPA PMK cache list
Expand All @@ -483,15 +481,13 @@ VOID MlmeAssocReqAction(
}
}

#ifdef RT30xx
if (pAd->StaCfg.WpaSupplicantUP == 1)
{
MakeOutgoingFrame(pOutBuffer + FrameLen, &tmp,
pAd->StaCfg.RSNIE_Len, pAd->StaCfg.RSN_IE,
END_OF_ARGS);
}
else
#endif
{
MakeOutgoingFrame(pOutBuffer + FrameLen, &tmp,
1, &RSNIe,
Expand All @@ -502,9 +498,7 @@ VOID MlmeAssocReqAction(

FrameLen += tmp;

#ifdef RT30xx
if (pAd->StaCfg.WpaSupplicantUP != 1)
#endif
{
// Append Variable IE
NdisMoveMemory(pAd->StaCfg.ReqVarIEs + VarIesOffset, &RSNIe, 1);
Expand Down

0 comments on commit b139024

Please sign in to comment.