]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: rt3070: remove dead DFS_SUPPORT code
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 26 Apr 2009 14:05:00 +0000 (16:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:43 +0000 (11:00 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt3070/common/dfs.c
drivers/staging/rt3070/sta/connect.c

index 0ae223b7cd3c80a3daa83dd50e57715528fe2e46..23330f2661d9ba533a08e95494f2629df3e6ab76 100644 (file)
@@ -302,15 +302,6 @@ ULONG RTMPReadRadarDuration(
 {
        ULONG result = 0;
 
-#ifdef DFS_SUPPORT
-       UINT8 duration1 = 0, duration2 = 0, duration3 = 0;
-
-       BBP_IO_READ8_BY_REG_ID(pAd, BBP_R116, &duration1);
-       BBP_IO_READ8_BY_REG_ID(pAd, BBP_R117, &duration2);
-       BBP_IO_READ8_BY_REG_ID(pAd, BBP_R118, &duration3);
-       result = (duration1 << 16) + (duration2 << 8) + duration3;
-#endif // DFS_SUPPORT //
-
        return result;
 
 }
index 00f8af134990d07b424dc5dc006a59b53e85ac91..6b588edadaa2fee86c00995a31702e41e5b49928 100644 (file)
@@ -989,9 +989,6 @@ VOID CntlWaitStartProc(
                        {
                                pAd->CommonCfg.RadarDetect.RDMode = RD_SILENCE_MODE;
                                pAd->CommonCfg.RadarDetect.RDCount = 0;
-#ifdef DFS_SUPPORT
-                               BbpRadarDetectionStart(pAd);
-#endif // DFS_SUPPORT //
                        }
 
                        DBGPRINT(RT_DEBUG_TRACE, ("CNTL - start a new IBSS = %02x:%02x:%02x:%02x:%02x:%02x ...\n",
@@ -1510,9 +1507,6 @@ VOID LinkUp(
 
        if (pAd->CommonCfg.RadarDetect.RDMode == RD_SILENCE_MODE)
        {
-#ifdef DFS_SUPPORT
-               RadarDetectionStop(pAd);
-#endif // DFS_SUPPORT //
        }
        pAd->CommonCfg.RadarDetect.RDMode = RD_NORMAL_MODE;