diff options
Diffstat (limited to 'drivers/staging/rt2870/common/spectrum.c')
-rw-r--r-- | drivers/staging/rt2870/common/spectrum.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/staging/rt2870/common/spectrum.c b/drivers/staging/rt2870/common/spectrum.c index 74380958eb7..3925df9ac78 100644 --- a/drivers/staging/rt2870/common/spectrum.c +++ b/drivers/staging/rt2870/common/spectrum.c | |||
@@ -1059,27 +1059,6 @@ VOID NotifyChSwAnnToPeerAPs( | |||
1059 | IN UINT8 ChSwMode, | 1059 | IN UINT8 ChSwMode, |
1060 | IN UINT8 Channel) | 1060 | IN UINT8 Channel) |
1061 | { | 1061 | { |
1062 | #ifdef WDS_SUPPORT | ||
1063 | if (!((pRA[0] & 0xff) == 0xff)) // is pRA a broadcase address. | ||
1064 | { | ||
1065 | INT i; | ||
1066 | // info neighbor APs that Radar signal found throgh WDS link. | ||
1067 | for (i = 0; i < MAX_WDS_ENTRY; i++) | ||
1068 | { | ||
1069 | if (ValidWdsEntry(pAd, i)) | ||
1070 | { | ||
1071 | PUCHAR pDA = pAd->WdsTab.WdsEntry[i].PeerWdsAddr; | ||
1072 | |||
1073 | // DA equal to SA. have no necessary orignal AP which found Radar signal. | ||
1074 | if (MAC_ADDR_EQUAL(pTA, pDA)) | ||
1075 | continue; | ||
1076 | |||
1077 | // send Channel Switch Action frame to info Neighbro APs. | ||
1078 | EnqueueChSwAnn(pAd, pDA, ChSwMode, Channel); | ||
1079 | } | ||
1080 | } | ||
1081 | } | ||
1082 | #endif // WDS_SUPPORT // | ||
1083 | } | 1062 | } |
1084 | 1063 | ||
1085 | static VOID StartDFSProcedure( | 1064 | static VOID StartDFSProcedure( |