Staging: rt2860: reduce superfluous exclamation marks
authorSebastian Dalfuß <sd@sedf.de>
Sat, 7 Nov 2009 16:31:12 +0000 (17:31 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:23:19 +0000 (12:23 -0800)
This removes superfluous exclamation marks from strings and comments, and
also three spelling typos.

Signed-off-by: Sebastian Dalfuß <sd@sedf.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
27 files changed:
drivers/staging/rt2860/common/ba_action.c
drivers/staging/rt2860/common/cmm_aes.c
drivers/staging/rt2860/common/cmm_asic.c
drivers/staging/rt2860/common/cmm_data.c
drivers/staging/rt2860/common/cmm_data_2860.c
drivers/staging/rt2860/common/cmm_data_pci.c
drivers/staging/rt2860/common/cmm_mac_pci.c
drivers/staging/rt2860/common/cmm_mac_usb.c
drivers/staging/rt2860/common/cmm_sanity.c
drivers/staging/rt2860/common/cmm_tkip.c
drivers/staging/rt2860/common/cmm_wep.c
drivers/staging/rt2860/common/cmm_wpa.c
drivers/staging/rt2860/common/mlme.c
drivers/staging/rt2860/common/rt_rf.c
drivers/staging/rt2860/common/rtmp_init.c
drivers/staging/rt2860/oid.h
drivers/staging/rt2860/rt_linux.c
drivers/staging/rt2860/rt_linux.h
drivers/staging/rt2860/rt_main_dev.c
drivers/staging/rt2860/rtmp_chip.h
drivers/staging/rt2860/rtmp_def.h
drivers/staging/rt2860/sta/assoc.c
drivers/staging/rt2860/sta/connect.c
drivers/staging/rt2860/sta/rtmp_data.c
drivers/staging/rt2860/sta/sanity.c
drivers/staging/rt2860/sta_ioctl.c
drivers/staging/rt2860/usb_main_dev.c

index 69eea402d32dccce1eee7521662314e3a62a0aab..174f2a73a1bb646c753ff2e9c0faf176cec0dbf0 100644 (file)
@@ -1481,7 +1481,7 @@ static void ba_enqueue_reordering_packet(struct rt_rtmp_adapter *pAd,
                NdisReleaseSpinLock(&pBAEntry->RxReRingLock);
        } else {
                DBGPRINT(RT_DEBUG_ERROR,
-                        ("!!! (%d) Can't allocate reordering mpdu blk\n",
+                        (" (%d) Can't allocate reordering mpdu blk\n",
                          pBAEntry->list.qlen));
 
                /*
@@ -1542,7 +1542,7 @@ void Indicate_AMPDU_Packet(struct rt_rtmp_adapter *pAd,
                }
                pBAEntry = &pAd->BATable.BARecEntry[Idx];
        } else {
-               /* impossible !!! */
+               /* impossible ! */
                ASSERT(0);
                /* release packet */
                RELEASE_NDIS_PACKET(pAd, pRxBlk->pRxPacket,
index 6730d78badfc271f7d60700ad29cdcd1df68452d..250357c5cd65fe692a5b58c1adbe766e4a8dcbcd 100644 (file)
@@ -1279,7 +1279,7 @@ void AES_GTK_KEY_UNWRAP(u8 * key,
 
        if (R == NULL) {
                DBGPRINT(RT_DEBUG_ERROR,
-                        ("!!!AES_GTK_KEY_UNWRAP: no memory!!!\n"));
+                        ("AES_GTK_KEY_UNWRAP: no memory!\n"));
                return;
        }
        /* End of if */
index fafba27fcd7b07d3eb2ef37084bfe317288cf90e..4d77e83eb418985f2ed3fa59c275b9210c6ef780 100644 (file)
@@ -1005,7 +1005,7 @@ void AsicSwitchChannel(struct rt_rtmp_adapter *pAd, u8 Channel, IN BOOLEAN bScan
 void AsicResetBBPAgent(struct rt_rtmp_adapter *pAd)
 {
        BBP_CSR_CFG_STRUC BbpCsr;
-       DBGPRINT(RT_DEBUG_ERROR, ("Reset BBP Agent busy bit.!! \n"));
+       DBGPRINT(RT_DEBUG_ERROR, ("Reset BBP Agent busy bit!\n"));
        /* Still need to find why BBP agent keeps busy, but in fact, hardware still function ok. Now clear busy first. */
        RTMP_IO_READ32(pAd, H2M_BBP_AGENT, &BbpCsr.word);
        BbpCsr.field.Busy = 0;
index 2d2c311bc7a4d54c43fdaaebde52eba4cf5df2be..68263cee79521ef607703554894e1d58ddd867e6 100644 (file)
@@ -397,7 +397,7 @@ int MlmeHardTransmitMgmtRing(struct rt_rtmp_adapter *pAd,
            && (pAd->CommonCfg.bIEEE80211H == 1)
            && (pAd->CommonCfg.RadarDetect.RDMode != RD_NORMAL_MODE)) {
                DBGPRINT(RT_DEBUG_ERROR,
-                        ("MlmeHardTransmit --> radar detect not in normal mode !!!\n"));
+                        ("MlmeHardTransmit --> radar detect not in normal mode!\n"));
 /*              if (!IrqState) */
                RTMP_SEM_UNLOCK(&pAd->MgmtRingLock);
                return (NDIS_STATUS_FAILURE);
@@ -964,7 +964,7 @@ u16 RTMPCalcDuration(struct rt_rtmp_adapter *pAd, u8 Rate, unsigned long Size)
        IRQL = PASSIVE_LEVEL
        IRQL = DISPATCH_LEVEL
 
-    See also : BASmartHardTransmit()    !!!
+    See also : BASmartHardTransmit()    !
 
        ========================================================================
 */
@@ -1708,7 +1708,7 @@ BOOLEAN MacTableDeleteEntry(struct rt_rtmp_adapter *pAd,
                                pProbeEntry = pProbeEntry->pNext;
                        } while (pProbeEntry);
 
-                       /* not found !!! */
+                       /* not found ! */
                        ASSERT(pProbeEntry != NULL);
 
                        RTMP_STA_ENTRY_KEY_DEL(pAd, BSS0, wcid);
@@ -1729,7 +1729,7 @@ BOOLEAN MacTableDeleteEntry(struct rt_rtmp_adapter *pAd,
                                  pAd->MacTab.Size));
                } else {
                        DBGPRINT(RT_DEBUG_OFF,
-                                ("\n%s: Impossible Wcid = %d !!!!!\n",
+                                ("\n%s: Impossible Wcid = %d !\n",
                                  __func__, wcid));
                }
        }
index 857ff450b6c9dbd8798980bd5364a76ba0e60ce1..d3ae7ca5a700f5c56046bfe1d716689dbbdcb80d 100644 (file)
@@ -847,7 +847,7 @@ VOID RT28xxPciStaAsicForceWakeup(
                AutoWakeupCfg.word = 0;
                RTMP_IO_WRITE32(pAd, AUTO_WAKEUP_CFG, AutoWakeupCfg.word);
 
-               // If this is called from Halt. ALWAYS force wakeup!!!
+               // If this is called from Halt. ALWAYS force wakeup!
                if (Level == RTMP_HALT)
                {
                        RT28xxPciAsicRadioOn(pAd, RTMP_HALT);
index e6cb55a1292e2b887ed560cfe44be7a101033a16..43d73a05c8eba24a51fbb3a100c8ab5630790c1e 100644 (file)
@@ -979,7 +979,7 @@ int MlmeHardTransmitTxRing(struct rt_rtmp_adapter *pAd,
            && (pAd->CommonCfg.bIEEE80211H == 1)
            && (pAd->CommonCfg.RadarDetect.RDMode != RD_NORMAL_MODE)) {
                DBGPRINT(RT_DEBUG_ERROR,
-                        ("MlmeHardTransmit --> radar detect not in normal mode !!!\n"));
+                        ("MlmeHardTransmit --> radar detect not in normal mode!\n"));
                /*NdisReleaseSpinLock(&pAd->TxRingLock); */
                return (NDIS_STATUS_FAILURE);
        }
index 11dfdc58c77b8efbaaf0dd9677fdf8e650756201..560ebd398e1d558f2fc9efe01595179ab8ea4c1c 100644 (file)
@@ -1650,7 +1650,7 @@ void RT28xxPciMlmeRadioOFF(struct rt_rtmp_adapter *pAd)
 
                if (brc == FALSE) {
                        DBGPRINT(RT_DEBUG_ERROR,
-                                ("%s call RT28xxPciAsicRadioOff fail !!\n",
+                                ("%s call RT28xxPciAsicRadioOff fail!\n",
                                  __func__));
                }
        }
index 010c37c4c7242e444973fbfcfaead54637913e39..9dd6959cd5a58477ffca262a7d05a660a4de4606 100644 (file)
@@ -205,9 +205,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
                        /*Allocate URB */
                        LM_USB_ALLOC(pObj, pHTTXContext, struct rt_httx_buffer *,
                                     sizeof(struct rt_httx_buffer), Status,
-                                    ("<-- ERROR in Alloc TX TxContext[%d] urb!\n",
+                                    ("<-- ERROR in Alloc TX TxContext[%d] urb!\n",
                                      acidx), done,
-                                    ("<-- ERROR in Alloc TX TxContext[%d] struct rt_httx_buffer !! \n",
+                                    ("<-- ERROR in Alloc TX TxContext[%d] struct rt_httx_buffer!\n",
                                      acidx), out1);
 
                        NdisZeroMemory(pHTTXContext->TransferBuffer->
@@ -259,7 +259,7 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
                        pMLMEContext->pUrb = RTUSB_ALLOC_URB(0);
                        if (pMLMEContext->pUrb == NULL) {
                                DBGPRINT(RT_DEBUG_ERROR,
-                                        ("<-- ERROR in Alloc TX MLMEContext[%d] urb!\n",
+                                        ("<-- ERROR in Alloc TX MLMEContext[%d] urb!\n",
                                          i));
                                Status = NDIS_STATUS_RESOURCES;
                                goto out2;
@@ -296,9 +296,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
                        /*Allocate URB */
                        LM_USB_ALLOC(pObj, pBeaconContext, struct rt_tx_buffer *,
                                     sizeof(struct rt_tx_buffer), Status,
-                                    ("<-- ERROR in Alloc TX BeaconContext[%d] urb!\n",
+                                    ("<-- ERROR in Alloc TX BeaconContext[%d] urb!\n",
                                      i), out2,
-                                    ("<-- ERROR in Alloc TX BeaconContext[%d] struct rt_tx_buffer !! \n",
+                                    ("<-- ERROR in Alloc TX BeaconContext[%d] struct rt_tx_buffer!\n",
                                      i), out3);
 
                        pBeaconContext->pAd = pAd;
@@ -315,9 +315,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
                /*Allocate URB */
                LM_USB_ALLOC(pObj, pNullContext, struct rt_tx_buffer *, sizeof(struct rt_tx_buffer),
                             Status,
-                            ("<-- ERROR in Alloc TX NullContext urb!\n"),
+                            ("<-- ERROR in Alloc TX NullContext urb!\n"),
                             out3,
-                            ("<-- ERROR in Alloc TX NullContext struct rt_tx_buffer !! \n"),
+                            ("<-- ERROR in Alloc TX NullContext struct rt_tx_buffer!\n"),
                             out4);
 
                pNullContext->pAd = pAd;
@@ -333,9 +333,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
                /*Allocate URB */
                LM_USB_ALLOC(pObj, pRTSContext, struct rt_tx_buffer *, sizeof(struct rt_tx_buffer),
                             Status,
-                            ("<-- ERROR in Alloc TX RTSContext urb!\n"),
+                            ("<-- ERROR in Alloc TX RTSContext urb!\n"),
                             out4,
-                            ("<-- ERROR in Alloc TX RTSContext struct rt_tx_buffer !! \n"),
+                            ("<-- ERROR in Alloc TX RTSContext struct rt_tx_buffer!\n"),
                             out5);
 
                pRTSContext->pAd = pAd;
@@ -350,9 +350,9 @@ int NICInitTransmit(struct rt_rtmp_adapter *pAd)
                /*Allocate URB */
                LM_USB_ALLOC(pObj, pPsPollContext, struct rt_tx_buffer *,
                             sizeof(struct rt_tx_buffer), Status,
-                            ("<-- ERROR in Alloc TX PsPollContext urb!\n"),
+                            ("<-- ERROR in Alloc TX PsPollContext urb!\n"),
                             out5,
-                            ("<-- ERROR in Alloc TX PsPollContext struct rt_tx_buffer !! \n"),
+                            ("<-- ERROR in Alloc TX PsPollContext struct rt_tx_buffer!\n"),
                             out6);
 
                pPsPollContext->pAd = pAd;
index 556e3d06b88bb8ab661849886e32acd62fff5033..6b003c9034449b2c5c0346dab7a7e97adf41c17b 100644 (file)
@@ -256,7 +256,7 @@ BOOLEAN PeerBeaconAndProbeRspSanity(struct rt_rtmp_adapter *pAd, void * Msg, uns
 
        /* For some 11a AP which didn't have DS_IE, we use two conditions to decide the channel */
        /*      1. If the AP is 11n enabled, then check the control channel. */
-       /*      2. If the AP didn't have any info about channel, use the channel we received this frame as the channel. (May inaccuracy!!) */
+       /*      2. If the AP didn't have any info about channel, use the channel we received this frame as the channel. (May inaccuracy!) */
        u8 CtrlChannel = 0;
 
        /* Add for 3 necessary EID field check */
@@ -371,7 +371,7 @@ BOOLEAN PeerBeaconAndProbeRspSanity(struct rt_rtmp_adapter *pAd, void * Msg, uns
                        break;
 
                case IE_HT_CAP:
-                       if (pEid->Len >= SIZE_HT_CAP_IE)        /*Note: allow extension.!! */
+                       if (pEid->Len >= SIZE_HT_CAP_IE)        /*Note: allow extension! */
                        {
                                NdisMoveMemory(pHtCapability, pEid->Octet,
                                               sizeof(struct rt_ht_capability_ie));
index 7a2a48eb8e510e5e87af9abd98e3ca4b87a9528e..4881ef9ba022a98b02f119df537116bc6728ed96 100644 (file)
@@ -828,6 +828,6 @@ BOOLEAN RTMPSoftDecryptTKIP(struct rt_rtmp_adapter *pAd,
                /*RTMPReportMicError(pAd, &pWpaKey[KeyID]);     // marked by AlbertY @ 20060630 */
                return (FALSE);
        }
-       /*DBGPRINT(RT_DEBUG_TRACE, "RTMPSoftDecryptTKIP Decript done!!\n"); */
+       /*DBGPRINT(RT_DEBUG_TRACE, "RTMPSoftDecryptTKIP Decript done!\n"); */
        return TRUE;
 }
index c72835504ecb40040a57dc1ab23fe071e74f7556..76f880cb39b025ac5712355272bbddb3cbb72abd 100644 (file)
@@ -245,7 +245,7 @@ BOOLEAN RTMPSoftDecryptWEP(struct rt_rtmp_adapter *pAd,
        crc32 ^= 0xffffffff;    /* complement */
 
        if (crc32 != cpu2le32(trailfcs)) {
-               DBGPRINT(RT_DEBUG_TRACE, ("! WEP Data CRC Error !\n")); /*CRC error. */
+               DBGPRINT(RT_DEBUG_TRACE, ("WEP Data CRC Error!\n"));    /*CRC error. */
                return (FALSE);
        }
        return (TRUE);
index 7b51be0e8dd335fbf8d78727fd998e583c342e9f..94e119faaa71b01c04cd7477cc2d7ff7c4c0c0c8 100644 (file)
@@ -1292,7 +1292,7 @@ void PRF(u8 * key,
        os_alloc_mem(NULL, (u8 **) & input, 1024);
 
        if (input == NULL) {
-               DBGPRINT(RT_DEBUG_ERROR, ("!!!PRF: no memory!!!\n"));
+               DBGPRINT(RT_DEBUG_ERROR, ("PRF: no memory!\n"));
                return;
        }
        /* Generate concatenation input */
@@ -2672,7 +2672,7 @@ static void CalculateMIC(u8 KeyDescVer,
        os_alloc_mem(NULL, (u8 **) & OutBuffer, 512);
 
        if (OutBuffer == NULL) {
-               DBGPRINT(RT_DEBUG_ERROR, ("!!!CalculateMIC: no memory!!!\n"));
+               DBGPRINT(RT_DEBUG_ERROR, ("CalculateMIC: no memory!\n"));
                return;
        }
        /* make a frame for calculating MIC. */
index 8cd8f53ed0e63abaac01317f239d4fa75d6a1609..9fc34a8f218022dc651a984d1c323bc1836e484c 100644 (file)
@@ -483,7 +483,7 @@ void MlmeHandler(struct rt_rtmp_adapter *pAd)
 #ifdef RTMP_MAC_USB
                        if (Elem->MsgType == MT2_RESET_CONF) {
                                DBGPRINT_RAW(RT_DEBUG_TRACE,
-                                            ("!!! reset MLME state machine !!!\n"));
+                                            ("reset MLME state machine!\n"));
                                MlmeRestartStateMachine(pAd);
                                Elem->Occupied = FALSE;
                                Elem->MsgLen = 0;
@@ -4042,7 +4042,7 @@ void BssTableSsidSort(struct rt_rtmp_adapter *pAd,
                        }
                        /* Since the AP is using hidden SSID, and we are trying to connect to ANY */
                        /* It definitely will fail. So, skip it. */
-                       /* CCX also require not even try to connect it!! */
+                       /* CCX also require not even try to connect it! */
                        if (SsidLen == 0)
                                continue;
 
@@ -4600,8 +4600,8 @@ void MgtMacHeaderInit(struct rt_rtmp_adapter *pAd,
  * input params:
  *             Buffer - pointer to a pre-allocated memory segment
  *             args - a list of <int arg_size, arg> pairs.
- *             NOTE NOTE NOTE!!!! the last argument must be NULL, otherwise this
- *                                                function will FAIL!!!
+ *             NOTE NOTE NOTE! the last argument must be NULL, otherwise this
+ *                                                function will FAIL!
  * return:
  *             Size of the buffer
  * usage:
index fb0ca88fa3eaf7116b7ab968c736a49d4c0389d4..519121d8104007677e7b141c4e9b9c5a2a85d529 100644 (file)
@@ -72,7 +72,7 @@ int RT30xxWriteRFRegister(struct rt_rtmp_adapter *pAd,
        if ((i == RETRY_LIMIT)
            || (RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_NIC_NOT_EXIST))) {
                DBGPRINT_RAW(RT_DEBUG_ERROR,
-                            ("Retry count exhausted or device removed!!!\n"));
+                            ("Retry count exhausted or device removed!\n"));
                return STATUS_UNSUCCESSFUL;
        }
 
index d3c7c17e36a8edfb456cc948c6c6ff9a1d534c6f..21a95ffdfb865aa461e2eb5bb63b9b09f925b331 100644 (file)
@@ -75,7 +75,7 @@ struct rt_rtmp_reg_pair MACRegTable[] = {
        {BCN_OFFSET0, 0xece8e4e0},      /* 0x3800, 0x3A00, 0x3C00, 0x3E00, 512B for each beacon */
        {BCN_OFFSET1, 0xfcf8f4f0},      /* 0x3800, 0x3A00, 0x3C00, 0x3E00, 512B for each beacon */
 #else
-#error You must re-calculate new value for BCN_OFFSET0 & BCN_OFFSET1 in MACRegTable[]!!!
+#error You must re-calculate new value for BCN_OFFSET0 & BCN_OFFSET1 in MACRegTable[]!
 #endif /* HW_BEACON_OFFSET // */
 
        {LEGACY_BASIC_RATE, 0x0000013f},        /*  Basic rate set bitmap */
@@ -1272,7 +1272,7 @@ void NICInitAsicFromEEPROM(struct rt_rtmp_adapter *pAd)
                pAd->bAutoTxAgcA = pAd->bAutoTxAgcG = FALSE;
        /* */
        /* Since BBP has been progamed, to make sure BBP setting will be */
-       /* upate inside of AsicAntennaSelect, so reset to UNKNOWN_BAND!! */
+       /* upate inside of AsicAntennaSelect, so reset to UNKNOWN_BAND! */
        /* */
        pAd->CommonCfg.BandState = UNKNOWN_BAND;
 
@@ -3470,7 +3470,7 @@ err1:
 err0:
 #endif /* ST // */
 
-       DBGPRINT(RT_DEBUG_ERROR, ("!!! rt28xx Initialized fail !!!\n"));
+       DBGPRINT(RT_DEBUG_ERROR, ("rt28xx Initialized fail!\n"));
        return FALSE;
 }
 
index fa4a2e692e794453273d4b23ea520c2942f29f34..fd1c1419245160c510e1238e3f6ee57cc6958b0f 100644 (file)
@@ -557,7 +557,7 @@ enum {
 /* New for MeetingHouse Api support */
 #define OID_MH_802_1X_SUPPORTED               0xFFEDC100
 
-/* MIMO Tx parameter, ShortGI, MCS, STBC, etc.  these are fields in TXWI. Don't change this definition!!! */
+/* MIMO Tx parameter, ShortGI, MCS, STBC, etc.  these are fields in TXWI. Don't change this definition! */
 typedef union _HTTRANSMIT_SETTING {
        struct {
                u16 MCS:7;      /* MCS */
@@ -614,7 +614,7 @@ struct rt_802_11_event_table {
        struct rt_802_11_event_log Log[MAX_NUMBER_OF_EVENT];
 };
 
-/* MIMO Tx parameter, ShortGI, MCS, STBC, etc.  these are fields in TXWI. Don't change this definition!!! */
+/* MIMO Tx parameter, ShortGI, MCS, STBC, etc.  these are fields in TXWI. Don't change this definition! */
 typedef union _MACHTTRANSMIT_SETTING {
        struct {
                u16 MCS:7;      /* MCS */
index d84ac32b8a879b8c212092f7fe0f7dead950320d..9357fb26cc2a7ac75c4ceddf60c49f0e862d718a 100644 (file)
@@ -51,7 +51,7 @@ char const *pWirelessSysEventText[IW_SYS_EVENT_TYPE_NUM] = {
        "connects with our wireless client",    /* IW_STA_LINKUP_EVENT_FLAG */
        "disconnects with our wireless client", /* IW_STA_LINKDOWN_EVENT_FLAG */
        "scan completed"        /* IW_SCAN_COMPLETED_EVENT_FLAG */
-           "scan terminate!! Busy!! Enqueue fail!!"    /* IW_SCAN_ENQUEUE_FAIL_EVENT_FLAG */
+           "scan terminate! Busy! Enqueue fail!"       /* IW_SCAN_ENQUEUE_FAIL_EVENT_FLAG */
 };
 
 /* for wireless IDS_spoof_attack event message */
@@ -1282,7 +1282,7 @@ int RtmpOSNetDevDestory(struct rt_rtmp_adapter *pAd, struct net_device *pNetDev)
 {
 
        /* TODO: Need to fix this */
-       printk("WARNING: This function(%s) not implement yet!!!\n", __func__);
+       printk("WARNING: This function(%s) not implement yet!\n", __func__);
        return 0;
 }
 
index 7efc109c22ff33253dc39e48fae940cc6ddbfcd9..f85508d9d5a99cd9e237e1e886eb62cbd1d9ea2e 100644 (file)
@@ -427,7 +427,7 @@ do{                                   \
 
 #define DBGPRINT_ERR(Fmt)           \
 {                                   \
-    printk("ERROR!!! ");          \
+    printk("ERROR! ");          \
     printk Fmt;                  \
 }
 
index fbbec9d2dcdd5c5dc2865249f97afeb5053144d4..c3d92802d0c966dfbe12ca11ee23acb8cd888df9 100644 (file)
@@ -321,7 +321,7 @@ int rt28xx_close(struct net_device *dev)
 
                if (brc == FALSE) {
                        DBGPRINT(RT_DEBUG_ERROR,
-                                ("%s call RT28xxPciAsicRadioOff fail !!\n",
+                                ("%s call RT28xxPciAsicRadioOff fail!\n",
                                  __func__));
                }
        }
index 32ff3504e9e88195608e15ab27d2160b65dc761a..0adf2cd2deb75ab632d7a4d6c57dad648944edcd 100644 (file)
@@ -197,7 +197,7 @@ typedef union _EEPROM_NIC_CINFIG2_STRUC {
                u16 DynamicTxAgcControl:1;      /* */
                u16 ExternalLNAForG:1;  /* */
                u16 ExternalLNAForA:1;  /* external LNA enable for 2.4G */
-               u16 CardbusAcceleration:1;      /* !!! NOTE: 0 - enable, 1 - disable */
+               u16 CardbusAcceleration:1;      /* ! NOTE: 0 - enable, 1 - disable */
                u16 BW40MSidebandForG:1;
                u16 BW40MSidebandForA:1;
                u16 EnableWPSPBC:1;     /* WPS PBC Control bit */
index c79eceb6e71c3b704da2ad381d0f0869567951a5..9c54bacb845bd743a1cb9db0d53376005ef1c1c2 100644 (file)
 #define MAX_LEN_OF_MAC_TABLE            MAX_NUMBER_OF_MAC      /* if MAX_MBSSID_NUM is 8, this value can't be larger than 211 */
 
 #if MAX_LEN_OF_MAC_TABLE>MAX_AVAILABLE_CLIENT_WCID
-#error MAX_LEN_OF_MAC_TABLE can not be larger than MAX_AVAILABLE_CLIENT_WCID!!!!
+#error MAX_LEN_OF_MAC_TABLE can not be larger than MAX_AVAILABLE_CLIENT_WCID!
 #endif
 
 #define MAX_NUM_OF_WDS_LINK_PERBSSID               3
index 733bc083a6a7ec38a85440597827c1ed66f9ac08..7055f229e511d9f93d8153da922d0ac7f6141f1d 100644 (file)
@@ -563,7 +563,7 @@ void MlmeAssocReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *
                pAd->Mlme.AssocMachine.CurrState = ASSOC_WAIT_RSP;
        } else {
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("ASSOC - MlmeAssocReqAction() sanity check failed. BUG!!!!!! \n"));
+                        ("ASSOC - MlmeAssocReqAction() sanity check failed. BUG!\n"));
                pAd->Mlme.AssocMachine.CurrState = ASSOC_IDLE;
                Status = MLME_INVALID_FORMAT;
                MlmeEnqueue(pAd, MLME_CNTL_STATE_MACHINE, MT2_ASSOC_CONF, 2,
@@ -746,7 +746,7 @@ void MlmeReassocReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem
                pAd->Mlme.AssocMachine.CurrState = REASSOC_WAIT_RSP;
        } else {
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("ASSOC - MlmeReassocReqAction() sanity check failed. BUG!!!! \n"));
+                        ("ASSOC - MlmeReassocReqAction() sanity check failed. BUG!\n"));
                pAd->Mlme.AssocMachine.CurrState = ASSOC_IDLE;
                Status = MLME_INVALID_FORMAT;
                MlmeEnqueue(pAd, MLME_CNTL_STATE_MACHINE, MT2_REASSOC_CONF, 2,
index 9c7752076b008e5591dfdd67c3866a989f665263..17e59ba3d80712fd207fe8d80327af995ebc23c8 100644 (file)
@@ -214,7 +214,7 @@ void MlmeCntlMachinePerformAction(struct rt_rtmp_adapter *pAd,
                break;
 #endif /* RTMP_MAC_USB // */
        default:
-               DBGPRINT_ERR(("!ERROR! CNTL - Illegal message type(=%ld)",
+               DBGPRINT_ERR(("ERROR! CNTL - Illegal message type(=%ld)",
                              Elem->MsgType));
                break;
        }
@@ -911,7 +911,7 @@ void CntlWaitStartProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *E
                                  pAd->CommonCfg.Bssid[5]));
                } else {
                        DBGPRINT(RT_DEBUG_TRACE,
-                                ("CNTL - Start IBSS fail. BUG!!!!!\n"));
+                                ("CNTL - Start IBSS fail. BUG!\n"));
                        pAd->Mlme.CntlMachine.CurrState = CNTL_IDLE;
                }
        }
@@ -1184,7 +1184,7 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
        /* */
        /* ASSOC - DisassocTimeoutAction */
        /* CNTL - Dis-associate successful */
-       /* !!! LINK DOWN !!! */
+       /* ! LINK DOWN ! */
        /* [88888] OID_802_11_SSID should have returned NDTEST_WEP_AP2(Returned: ) */
        /* */
        /* To prevent DisassocTimeoutAction to call Link down after we link up, */
@@ -1218,12 +1218,12 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
                if (pAd->CommonCfg.PhyMode >= PHY_11ABGN_MIXED)
                        AdhocTurnOnQos(pAd);
 
-               DBGPRINT(RT_DEBUG_TRACE, ("!!!Adhoc LINK UP !!! \n"));
+               DBGPRINT(RT_DEBUG_TRACE, ("Adhoc LINK UP!\n"));
        } else {
                OPSTATUS_SET_FLAG(pAd, fOP_STATUS_INFRA_ON);
                OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_ADHOC_ON);
 
-               DBGPRINT(RT_DEBUG_TRACE, ("!!!Infra LINK UP !!! \n"));
+               DBGPRINT(RT_DEBUG_TRACE, ("Infra LINK UP!\n"));
        }
 
        /* 3*3 */
@@ -1262,11 +1262,11 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x1A);
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x0A);
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x16);
-                       DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n"));
+                       DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n"));
                }
 
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("!!!40MHz Lower LINK UP !!! Control Channel at Below. Central = %d \n",
+                        ("40MHz Lower LINK UP! Control Channel at Below. Central = %d \n",
                          pAd->CommonCfg.CentralChannel));
        } else if ((pAd->CommonCfg.CentralChannel < pAd->CommonCfg.Channel)
                   && (pAd->MlmeAux.HtCapability.HtCapInfo.ChannelWidth ==
@@ -1296,11 +1296,11 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x1A);
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x0A);
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x16);
-                       DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n"));
+                       DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n"));
                }
 
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("!!! 40MHz Upper LINK UP !!! Control Channel at UpperCentral = %d \n",
+                        ("40MHz Upper LINK UP! Control Channel at UpperCentral = %d \n",
                          pAd->CommonCfg.CentralChannel));
        } else {
                pAd->CommonCfg.BBPCurrentBW = BW_20;
@@ -1327,10 +1327,10 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x16);
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x08);
                        RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x11);
-                       DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n"));
+                       DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n"));
                }
 
-               DBGPRINT(RT_DEBUG_TRACE, ("!!! 20MHz LINK UP !!! \n"));
+               DBGPRINT(RT_DEBUG_TRACE, ("20MHz LINK UP!\n"));
        }
 
        RTMPSetAGCInitValue(pAd, pAd->CommonCfg.BBPCurrentBW);
@@ -1342,12 +1342,12 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
                                    &pAd->BbpTuning.R66CurrentValue);
 
        DBGPRINT(RT_DEBUG_TRACE,
-                ("!!! LINK UP !!! (BssType=%d, AID=%d, ssid=%s, Channel=%d, CentralChannel = %d)\n",
+                ("LINK UP! (BssType=%d, AID=%d, ssid=%s, Channel=%d, CentralChannel = %d)\n",
                  BssType, pAd->StaActive.Aid, pAd->CommonCfg.Ssid,
                  pAd->CommonCfg.Channel, pAd->CommonCfg.CentralChannel));
 
        DBGPRINT(RT_DEBUG_TRACE,
-                ("!!! LINK UP !!! (Density =%d, )\n",
+                ("LINK UP! (Density =%d, )\n",
                  pAd->MacTab.Content[BSSID_WCID].MpduDensity));
 
        AsicSetBssid(pAd, pAd->CommonCfg.Bssid);
@@ -1634,13 +1634,13 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
                NdisReleaseSpinLock(&pAd->MacTabLock);
 
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("!!! LINK UP !!!  ClientStatusFlags=%lx)\n",
+                        ("LINK UP!  ClientStatusFlags=%lx)\n",
                          pAd->MacTab.Content[BSSID_WCID].ClientStatusFlags));
 
                MlmeUpdateTxRates(pAd, TRUE, BSS0);
                MlmeUpdateHtTxRates(pAd, BSS0);
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("!!! LINK UP !! (StaActive.bHtEnable =%d, )\n",
+                        ("LINK UP! (StaActive.bHtEnable =%d, )\n",
                          pAd->StaActive.SupportedPhyInfo.bHtEnable));
 
                if (pAd->CommonCfg.bAggregationCapable) {
@@ -1811,7 +1811,7 @@ void LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType)
        pAd->CommonCfg.IOTestParm.bLastAtheros = FALSE;
        COPY_MAC_ADDR(pAd->CommonCfg.LastBssid, pAd->CommonCfg.Bssid);
        DBGPRINT(RT_DEBUG_TRACE,
-                ("!!!pAd->bNextDisableRxBA= %d \n",
+                ("pAd->bNextDisableRxBA= %d \n",
                  pAd->CommonCfg.IOTestParm.bNextDisableRxBA));
        /* BSSID add in one MAC entry too.  Because in Tx, ASIC need to check Cipher and IV/EIV, BAbitmap */
        /* Pther information in MACTab.Content[BSSID_WCID] is not necessary for driver. */
@@ -1893,7 +1893,7 @@ void LinkDown(struct rt_rtmp_adapter *pAd, IN BOOLEAN IsReqFromAP)
                                      BSS0, 0);
        }
 
-       DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN !!!\n"));
+       DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN!\n"));
        OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_AGGREGATION_INUSED);
 
 #ifdef RTMP_MAC_PCI
@@ -1921,7 +1921,7 @@ void LinkDown(struct rt_rtmp_adapter *pAd, IN BOOLEAN IsReqFromAP)
 
        if (ADHOC_ON(pAd))      /* Adhoc mode link down */
        {
-               DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN 1!!!\n"));
+               DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN 1!\n"));
 
                OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_ADHOC_ON);
                OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_MEDIA_STATE_CONNECTED);
@@ -1931,10 +1931,10 @@ void LinkDown(struct rt_rtmp_adapter *pAd, IN BOOLEAN IsReqFromAP)
                BssTableDeleteEntry(&pAd->ScanTab, pAd->CommonCfg.Bssid,
                                    pAd->CommonCfg.Channel);
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("!!! MacTab.Size=%d !!!\n", pAd->MacTab.Size));
+                        (" MacTab.Size=%d !\n", pAd->MacTab.Size));
        } else                  /* Infra structure mode */
        {
-               DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN 2!!!\n"));
+               DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN 2!\n"));
 
                OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_INFRA_ON);
                OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_MEDIA_STATE_CONNECTED);
index 8c0ab2df001110f2e04741b67d41ab99b0cc1892..c50394759079001b40b55de2334361ce0936da33 100644 (file)
@@ -192,7 +192,7 @@ void STARxEAPOLFrameIndicate(struct rt_rtmp_adapter *pAd,
                                                  pRxWI->RSSI1, pRxWI->RSSI2,
                                                  pRxD->PlcpSignal);
                        DBGPRINT_RAW(RT_DEBUG_TRACE,
-                                    ("!!! report EAPOL/AIRONET DATA to MLME (len=%d) !!!\n",
+                                    ("report EAPOL/AIRONET DATA to MLME (len=%d) !\n",
                                      pRxBlk->DataSize));
                }
        }
@@ -940,7 +940,7 @@ int STASendPacket(struct rt_rtmp_adapter *pAd, void *pPacket)
 
        if (pSrcBufVA == NULL) {
                DBGPRINT(RT_DEBUG_ERROR,
-                        ("STASendPacket --> pSrcBufVA == NULL !!!SrcBufLen=%x\n",
+                        ("STASendPacket --> pSrcBufVA == NULL !SrcBufLen=%x\n",
                          SrcBufLen));
                /* Resourece is low, system did not allocate virtual address */
                /* return NDIS_STATUS_FAILURE directly to upper layer */
@@ -950,7 +950,7 @@ int STASendPacket(struct rt_rtmp_adapter *pAd, void *pPacket)
 
        if (SrcBufLen < 14) {
                DBGPRINT(RT_DEBUG_ERROR,
-                        ("STASendPacket --> Ndis Packet buffer error !!!\n"));
+                        ("STASendPacket --> Ndis Packet buffer error!\n"));
                RELEASE_NDIS_PACKET(pAd, pPacket, NDIS_STATUS_FAILURE);
                return (NDIS_STATUS_FAILURE);
        }
@@ -1007,7 +1007,7 @@ int STASendPacket(struct rt_rtmp_adapter *pAd, void *pPacket)
            && (RTMP_GET_PACKET_EAPOL(pPacket) == FALSE)
            ) {
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("STASendPacket --> Drop packet before port secured !!!\n"));
+                        ("STASendPacket --> Drop packet before port secured!\n"));
                RELEASE_NDIS_PACKET(pAd, pPacket, NDIS_STATUS_FAILURE);
 
                return (NDIS_STATUS_FAILURE);
@@ -1680,7 +1680,7 @@ void STA_AMPDU_Frame_Tx(struct rt_rtmp_adapter *pAd, struct rt_tx_blk *pTxBlk)
 
                pMacEntry = pTxBlk->pMacEntry;
                if (pMacEntry->isCached) {
-                       /* NOTE: Please make sure the size of pMacEntry->CachedBuf[] is smaller than pTxBlk->HeaderBuf[]!!!! */
+                       /* NOTE: Please make sure the size of pMacEntry->CachedBuf[] is smaller than pTxBlk->HeaderBuf[]! */
                        NdisMoveMemory((u8 *)& pTxBlk->
                                       HeaderBuf[TXINFO_SIZE],
                                       (u8 *)& pMacEntry->CachedBuf[0],
@@ -2506,7 +2506,7 @@ int STAHardTransmit(struct rt_rtmp_adapter *pAd,
                {
                        /* It should not happened! */
                        DBGPRINT(RT_DEBUG_ERROR,
-                                ("Send a pacekt was not classified!! It should not happen!\n"));
+                                ("Send a packet was not classified! It should not happen!\n"));
                        while (pTxBlk->TxPacketList.Number) {
                                pQEntry =
                                    RemoveHeadQueue(&pTxBlk->TxPacketList);
index 64a0e87390481e52ca48d336118f7a64d64f9bda..8f9fd19be1514ab158a31e59aba66ba0afb8e2be 100644 (file)
@@ -150,7 +150,7 @@ BOOLEAN PeerAssocRspSanity(struct rt_rtmp_adapter *pAd, void * pMsg, unsigned lo
 
                case IE_HT_CAP:
                case IE_HT_CAP2:
-                       if (pEid->Len >= SIZE_HT_CAP_IE)        /*Note: allow extension.!! */
+                       if (pEid->Len >= SIZE_HT_CAP_IE)        /*Note: allow extension! */
                        {
                                NdisMoveMemory(pHtCapability, pEid->Octet,
                                               SIZE_HT_CAP_IE);
index 04f81bdeb0c84a7cdf956964aaa8457d87c863d0..d8fbe6cc6941af878ba3e5bce442ad93e90d8e53 100644 (file)
@@ -600,7 +600,7 @@ int rt_ioctl_siwap(struct net_device *dev,
        if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) {
                RTMP_MLME_RESET_STATE_MACHINE(pAdapter);
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("!!! MLME busy, reset MLME state machine !!!\n"));
+                        ("MLME busy, reset MLME state machine!\n"));
        }
        /* tell CNTL state machine to call NdisMSetInformationComplete() after completing */
        /* this request, because this request is initiated by NDIS. */
@@ -741,7 +741,7 @@ int rt_ioctl_siwscan(struct net_device *dev,
 
        if (MONITOR_ON(pAdapter)) {
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("!!! Driver is in Monitor Mode now !!!\n"));
+                        ("Driver is in Monitor Mode now!\n"));
                return -EINVAL;
        }
 
@@ -758,7 +758,7 @@ int rt_ioctl_siwscan(struct net_device *dev,
                if ((pAdapter->StaCfg.WpaSupplicantUP == WPA_SUPPLICANT_ENABLE)
                    && (pAdapter->StaCfg.WpaSupplicantScanCount > 3)) {
                        DBGPRINT(RT_DEBUG_TRACE,
-                                ("!!! WpaSupplicantScanCount > 3\n"));
+                                ("WpaSupplicantScanCount > 3\n"));
                        Status = NDIS_STATUS_SUCCESS;
                        break;
                }
@@ -771,7 +771,7 @@ int rt_ioctl_siwscan(struct net_device *dev,
                    && (pAdapter->StaCfg.PortSecured ==
                        WPA_802_1X_PORT_NOT_SECURED)) {
                        DBGPRINT(RT_DEBUG_TRACE,
-                                ("!!! Link UP, Port Not Secured! ignore this set::OID_802_11_BSSID_LIST_SCAN\n"));
+                                ("Link UP, Port Not Secured! ignore this set::OID_802_11_BSSID_LIST_SCAN\n"));
                        Status = NDIS_STATUS_SUCCESS;
                        break;
                }
@@ -779,7 +779,7 @@ int rt_ioctl_siwscan(struct net_device *dev,
                if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) {
                        RTMP_MLME_RESET_STATE_MACHINE(pAdapter);
                        DBGPRINT(RT_DEBUG_TRACE,
-                                ("!!! MLME busy, reset MLME state machine !!!\n"));
+                                ("MLME busy, reset MLME state machine!\n"));
                }
                /* tell CNTL state machine to call NdisMSetInformationComplete() after completing */
                /* this request, because this request is initiated by NDIS. */
@@ -2256,7 +2256,7 @@ int rt_ioctl_siwpmksa(struct net_device *dev,
                break;
        default:
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("rt_ioctl_siwpmksa - Unknow Command!!\n"));
+                        ("rt_ioctl_siwpmksa - Unknown Command!\n"));
                break;
        }
 
@@ -2664,7 +2664,7 @@ int Set_SSID_Proc(struct rt_rtmp_adapter *pAdapter, char *arg)
                if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) {
                        RTMP_MLME_RESET_STATE_MACHINE(pAdapter);
                        DBGPRINT(RT_DEBUG_TRACE,
-                                ("!!! MLME busy, reset MLME state machine !!!\n"));
+                                ("MLME busy, reset MLME state machine!\n"));
                }
 
                if ((pAdapter->StaCfg.WpaPassPhraseLen >= 8) &&
index c1d1fb535a378b407f0aff3a27b64ee271b42cf0..925a236e104421214ec53e31ec571fb5107c9ab9 100644 (file)
@@ -584,7 +584,7 @@ void RTUSBWatchDog(struct rt_rtmp_adapter *pAd)
        RTMP_IO_READ32(pAd, TXRXQ_PCNT, &MACValue);
        if ((MACValue & 0xff) != 0) {
                DBGPRINT(RT_DEBUG_TRACE,
-                        ("TX QUEUE 0 Not EMPTY(Value=0x%0x). !!!!!!!!!!!!!!!\n",
+                        ("TX QUEUE 0 Not EMPTY(Value=0x%0x)!\n",
                          MACValue));
                RTMP_IO_WRITE32(pAd, PBF_CFG, 0xf40012);
                while ((MACValue & 0xff) != 0 && (idx++ < 10)) {
@@ -707,7 +707,7 @@ void RTUSBWatchDog(struct rt_rtmp_adapter *pAd)
                                        }
                                } else {
                                        DBGPRINT(RT_DEBUG_ERROR,
-                                                ("Unkonw bulkOut URB maybe hanged!!!!!!!!!!!!\n"));
+                                                ("Unknown bulkOut URB maybe hanged!\n"));
                                }
                        } else {
                                RTMP_IRQ_UNLOCK(&pAd->BulkOutLock[idx],