Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rt2860: reduce superfluous exclamation marks

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>

authored by

Sebastian Dalfuß and committed by
Greg Kroah-Hartman
06aea994 956cd45d

+82 -82
+2 -2
drivers/staging/rt2860/common/ba_action.c
··· 1481 1481 NdisReleaseSpinLock(&pBAEntry->RxReRingLock); 1482 1482 } else { 1483 1483 DBGPRINT(RT_DEBUG_ERROR, 1484 - ("!!! (%d) Can't allocate reordering mpdu blk\n", 1484 + (" (%d) Can't allocate reordering mpdu blk\n", 1485 1485 pBAEntry->list.qlen)); 1486 1486 1487 1487 /* ··· 1542 1542 } 1543 1543 pBAEntry = &pAd->BATable.BARecEntry[Idx]; 1544 1544 } else { 1545 - /* impossible !!! */ 1545 + /* impossible ! */ 1546 1546 ASSERT(0); 1547 1547 /* release packet */ 1548 1548 RELEASE_NDIS_PACKET(pAd, pRxBlk->pRxPacket,
+1 -1
drivers/staging/rt2860/common/cmm_aes.c
··· 1279 1279 1280 1280 if (R == NULL) { 1281 1281 DBGPRINT(RT_DEBUG_ERROR, 1282 - ("!!!AES_GTK_KEY_UNWRAP: no memory!!!\n")); 1282 + ("AES_GTK_KEY_UNWRAP: no memory!\n")); 1283 1283 return; 1284 1284 } 1285 1285 /* End of if */
+1 -1
drivers/staging/rt2860/common/cmm_asic.c
··· 1005 1005 void AsicResetBBPAgent(struct rt_rtmp_adapter *pAd) 1006 1006 { 1007 1007 BBP_CSR_CFG_STRUC BbpCsr; 1008 - DBGPRINT(RT_DEBUG_ERROR, ("Reset BBP Agent busy bit.!! \n")); 1008 + DBGPRINT(RT_DEBUG_ERROR, ("Reset BBP Agent busy bit!\n")); 1009 1009 /* Still need to find why BBP agent keeps busy, but in fact, hardware still function ok. Now clear busy first. */ 1010 1010 RTMP_IO_READ32(pAd, H2M_BBP_AGENT, &BbpCsr.word); 1011 1011 BbpCsr.field.Busy = 0;
+4 -4
drivers/staging/rt2860/common/cmm_data.c
··· 397 397 && (pAd->CommonCfg.bIEEE80211H == 1) 398 398 && (pAd->CommonCfg.RadarDetect.RDMode != RD_NORMAL_MODE)) { 399 399 DBGPRINT(RT_DEBUG_ERROR, 400 - ("MlmeHardTransmit --> radar detect not in normal mode !!!\n")); 400 + ("MlmeHardTransmit --> radar detect not in normal mode!\n")); 401 401 /* if (!IrqState) */ 402 402 RTMP_SEM_UNLOCK(&pAd->MgmtRingLock); 403 403 return (NDIS_STATUS_FAILURE); ··· 964 964 IRQL = PASSIVE_LEVEL 965 965 IRQL = DISPATCH_LEVEL 966 966 967 - See also : BASmartHardTransmit() !!! 967 + See also : BASmartHardTransmit() ! 968 968 969 969 ======================================================================== 970 970 */ ··· 1708 1708 pProbeEntry = pProbeEntry->pNext; 1709 1709 } while (pProbeEntry); 1710 1710 1711 - /* not found !!! */ 1711 + /* not found ! */ 1712 1712 ASSERT(pProbeEntry != NULL); 1713 1713 1714 1714 RTMP_STA_ENTRY_KEY_DEL(pAd, BSS0, wcid); ··· 1729 1729 pAd->MacTab.Size)); 1730 1730 } else { 1731 1731 DBGPRINT(RT_DEBUG_OFF, 1732 - ("\n%s: Impossible Wcid = %d !!!!!\n", 1732 + ("\n%s: Impossible Wcid = %d !\n", 1733 1733 __func__, wcid)); 1734 1734 } 1735 1735 }
+1 -1
drivers/staging/rt2860/common/cmm_data_2860.c
··· 847 847 AutoWakeupCfg.word = 0; 848 848 RTMP_IO_WRITE32(pAd, AUTO_WAKEUP_CFG, AutoWakeupCfg.word); 849 849 850 - // If this is called from Halt. ALWAYS force wakeup!!! 850 + // If this is called from Halt. ALWAYS force wakeup! 851 851 if (Level == RTMP_HALT) 852 852 { 853 853 RT28xxPciAsicRadioOn(pAd, RTMP_HALT);
+1 -1
drivers/staging/rt2860/common/cmm_data_pci.c
··· 979 979 && (pAd->CommonCfg.bIEEE80211H == 1) 980 980 && (pAd->CommonCfg.RadarDetect.RDMode != RD_NORMAL_MODE)) { 981 981 DBGPRINT(RT_DEBUG_ERROR, 982 - ("MlmeHardTransmit --> radar detect not in normal mode !!!\n")); 982 + ("MlmeHardTransmit --> radar detect not in normal mode!\n")); 983 983 /*NdisReleaseSpinLock(&pAd->TxRingLock); */ 984 984 return (NDIS_STATUS_FAILURE); 985 985 }
+1 -1
drivers/staging/rt2860/common/cmm_mac_pci.c
··· 1650 1650 1651 1651 if (brc == FALSE) { 1652 1652 DBGPRINT(RT_DEBUG_ERROR, 1653 - ("%s call RT28xxPciAsicRadioOff fail !!\n", 1653 + ("%s call RT28xxPciAsicRadioOff fail!\n", 1654 1654 __func__)); 1655 1655 } 1656 1656 }
+11 -11
drivers/staging/rt2860/common/cmm_mac_usb.c
··· 205 205 /*Allocate URB */ 206 206 LM_USB_ALLOC(pObj, pHTTXContext, struct rt_httx_buffer *, 207 207 sizeof(struct rt_httx_buffer), Status, 208 - ("<-- ERROR in Alloc TX TxContext[%d] urb!! \n", 208 + ("<-- ERROR in Alloc TX TxContext[%d] urb!\n", 209 209 acidx), done, 210 - ("<-- ERROR in Alloc TX TxContext[%d] struct rt_httx_buffer !! \n", 210 + ("<-- ERROR in Alloc TX TxContext[%d] struct rt_httx_buffer!\n", 211 211 acidx), out1); 212 212 213 213 NdisZeroMemory(pHTTXContext->TransferBuffer-> ··· 259 259 pMLMEContext->pUrb = RTUSB_ALLOC_URB(0); 260 260 if (pMLMEContext->pUrb == NULL) { 261 261 DBGPRINT(RT_DEBUG_ERROR, 262 - ("<-- ERROR in Alloc TX MLMEContext[%d] urb!! \n", 262 + ("<-- ERROR in Alloc TX MLMEContext[%d] urb!\n", 263 263 i)); 264 264 Status = NDIS_STATUS_RESOURCES; 265 265 goto out2; ··· 296 296 /*Allocate URB */ 297 297 LM_USB_ALLOC(pObj, pBeaconContext, struct rt_tx_buffer *, 298 298 sizeof(struct rt_tx_buffer), Status, 299 - ("<-- ERROR in Alloc TX BeaconContext[%d] urb!! \n", 299 + ("<-- ERROR in Alloc TX BeaconContext[%d] urb!\n", 300 300 i), out2, 301 - ("<-- ERROR in Alloc TX BeaconContext[%d] struct rt_tx_buffer !! \n", 301 + ("<-- ERROR in Alloc TX BeaconContext[%d] struct rt_tx_buffer!\n", 302 302 i), out3); 303 303 304 304 pBeaconContext->pAd = pAd; ··· 315 315 /*Allocate URB */ 316 316 LM_USB_ALLOC(pObj, pNullContext, struct rt_tx_buffer *, sizeof(struct rt_tx_buffer), 317 317 Status, 318 - ("<-- ERROR in Alloc TX NullContext urb!! \n"), 318 + ("<-- ERROR in Alloc TX NullContext urb!\n"), 319 319 out3, 320 - ("<-- ERROR in Alloc TX NullContext struct rt_tx_buffer !! \n"), 320 + ("<-- ERROR in Alloc TX NullContext struct rt_tx_buffer!\n"), 321 321 out4); 322 322 323 323 pNullContext->pAd = pAd; ··· 333 333 /*Allocate URB */ 334 334 LM_USB_ALLOC(pObj, pRTSContext, struct rt_tx_buffer *, sizeof(struct rt_tx_buffer), 335 335 Status, 336 - ("<-- ERROR in Alloc TX RTSContext urb!! \n"), 336 + ("<-- ERROR in Alloc TX RTSContext urb!\n"), 337 337 out4, 338 - ("<-- ERROR in Alloc TX RTSContext struct rt_tx_buffer !! \n"), 338 + ("<-- ERROR in Alloc TX RTSContext struct rt_tx_buffer!\n"), 339 339 out5); 340 340 341 341 pRTSContext->pAd = pAd; ··· 350 350 /*Allocate URB */ 351 351 LM_USB_ALLOC(pObj, pPsPollContext, struct rt_tx_buffer *, 352 352 sizeof(struct rt_tx_buffer), Status, 353 - ("<-- ERROR in Alloc TX PsPollContext urb!! \n"), 353 + ("<-- ERROR in Alloc TX PsPollContext urb!\n"), 354 354 out5, 355 - ("<-- ERROR in Alloc TX PsPollContext struct rt_tx_buffer !! \n"), 355 + ("<-- ERROR in Alloc TX PsPollContext struct rt_tx_buffer!\n"), 356 356 out6); 357 357 358 358 pPsPollContext->pAd = pAd;
+2 -2
drivers/staging/rt2860/common/cmm_sanity.c
··· 256 256 257 257 /* For some 11a AP which didn't have DS_IE, we use two conditions to decide the channel */ 258 258 /* 1. If the AP is 11n enabled, then check the control channel. */ 259 - /* 2. If the AP didn't have any info about channel, use the channel we received this frame as the channel. (May inaccuracy!!) */ 259 + /* 2. If the AP didn't have any info about channel, use the channel we received this frame as the channel. (May inaccuracy!) */ 260 260 u8 CtrlChannel = 0; 261 261 262 262 /* Add for 3 necessary EID field check */ ··· 371 371 break; 372 372 373 373 case IE_HT_CAP: 374 - if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension.!! */ 374 + if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension! */ 375 375 { 376 376 NdisMoveMemory(pHtCapability, pEid->Octet, 377 377 sizeof(struct rt_ht_capability_ie));
+1 -1
drivers/staging/rt2860/common/cmm_tkip.c
··· 828 828 /*RTMPReportMicError(pAd, &pWpaKey[KeyID]); // marked by AlbertY @ 20060630 */ 829 829 return (FALSE); 830 830 } 831 - /*DBGPRINT(RT_DEBUG_TRACE, "RTMPSoftDecryptTKIP Decript done!!\n"); */ 831 + /*DBGPRINT(RT_DEBUG_TRACE, "RTMPSoftDecryptTKIP Decript done!\n"); */ 832 832 return TRUE; 833 833 }
+1 -1
drivers/staging/rt2860/common/cmm_wep.c
··· 245 245 crc32 ^= 0xffffffff; /* complement */ 246 246 247 247 if (crc32 != cpu2le32(trailfcs)) { 248 - DBGPRINT(RT_DEBUG_TRACE, ("! WEP Data CRC Error !\n")); /*CRC error. */ 248 + DBGPRINT(RT_DEBUG_TRACE, ("WEP Data CRC Error!\n")); /*CRC error. */ 249 249 return (FALSE); 250 250 } 251 251 return (TRUE);
+2 -2
drivers/staging/rt2860/common/cmm_wpa.c
··· 1292 1292 os_alloc_mem(NULL, (u8 **) & input, 1024); 1293 1293 1294 1294 if (input == NULL) { 1295 - DBGPRINT(RT_DEBUG_ERROR, ("!!!PRF: no memory!!!\n")); 1295 + DBGPRINT(RT_DEBUG_ERROR, ("PRF: no memory!\n")); 1296 1296 return; 1297 1297 } 1298 1298 /* Generate concatenation input */ ··· 2672 2672 os_alloc_mem(NULL, (u8 **) & OutBuffer, 512); 2673 2673 2674 2674 if (OutBuffer == NULL) { 2675 - DBGPRINT(RT_DEBUG_ERROR, ("!!!CalculateMIC: no memory!!!\n")); 2675 + DBGPRINT(RT_DEBUG_ERROR, ("CalculateMIC: no memory!\n")); 2676 2676 return; 2677 2677 } 2678 2678 /* make a frame for calculating MIC. */
+4 -4
drivers/staging/rt2860/common/mlme.c
··· 483 483 #ifdef RTMP_MAC_USB 484 484 if (Elem->MsgType == MT2_RESET_CONF) { 485 485 DBGPRINT_RAW(RT_DEBUG_TRACE, 486 - ("!!! reset MLME state machine !!!\n")); 486 + ("reset MLME state machine!\n")); 487 487 MlmeRestartStateMachine(pAd); 488 488 Elem->Occupied = FALSE; 489 489 Elem->MsgLen = 0; ··· 4042 4042 } 4043 4043 /* Since the AP is using hidden SSID, and we are trying to connect to ANY */ 4044 4044 /* It definitely will fail. So, skip it. */ 4045 - /* CCX also require not even try to connect it!! */ 4045 + /* CCX also require not even try to connect it! */ 4046 4046 if (SsidLen == 0) 4047 4047 continue; 4048 4048 ··· 4600 4600 * input params: 4601 4601 * Buffer - pointer to a pre-allocated memory segment 4602 4602 * args - a list of <int arg_size, arg> pairs. 4603 - * NOTE NOTE NOTE!!!! the last argument must be NULL, otherwise this 4604 - * function will FAIL!!! 4603 + * NOTE NOTE NOTE! the last argument must be NULL, otherwise this 4604 + * function will FAIL! 4605 4605 * return: 4606 4606 * Size of the buffer 4607 4607 * usage:
+1 -1
drivers/staging/rt2860/common/rt_rf.c
··· 72 72 if ((i == RETRY_LIMIT) 73 73 || (RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_NIC_NOT_EXIST))) { 74 74 DBGPRINT_RAW(RT_DEBUG_ERROR, 75 - ("Retry count exhausted or device removed!!!\n")); 75 + ("Retry count exhausted or device removed!\n")); 76 76 return STATUS_UNSUCCESSFUL; 77 77 } 78 78
+3 -3
drivers/staging/rt2860/common/rtmp_init.c
··· 75 75 {BCN_OFFSET0, 0xece8e4e0}, /* 0x3800, 0x3A00, 0x3C00, 0x3E00, 512B for each beacon */ 76 76 {BCN_OFFSET1, 0xfcf8f4f0}, /* 0x3800, 0x3A00, 0x3C00, 0x3E00, 512B for each beacon */ 77 77 #else 78 - #error You must re-calculate new value for BCN_OFFSET0 & BCN_OFFSET1 in MACRegTable[]!!! 78 + #error You must re-calculate new value for BCN_OFFSET0 & BCN_OFFSET1 in MACRegTable[]! 79 79 #endif /* HW_BEACON_OFFSET // */ 80 80 81 81 {LEGACY_BASIC_RATE, 0x0000013f}, /* Basic rate set bitmap */ ··· 1272 1272 pAd->bAutoTxAgcA = pAd->bAutoTxAgcG = FALSE; 1273 1273 /* */ 1274 1274 /* Since BBP has been progamed, to make sure BBP setting will be */ 1275 - /* upate inside of AsicAntennaSelect, so reset to UNKNOWN_BAND!! */ 1275 + /* upate inside of AsicAntennaSelect, so reset to UNKNOWN_BAND! */ 1276 1276 /* */ 1277 1277 pAd->CommonCfg.BandState = UNKNOWN_BAND; 1278 1278 ··· 3470 3470 err0: 3471 3471 #endif /* ST // */ 3472 3472 3473 - DBGPRINT(RT_DEBUG_ERROR, ("!!! rt28xx Initialized fail !!!\n")); 3473 + DBGPRINT(RT_DEBUG_ERROR, ("rt28xx Initialized fail!\n")); 3474 3474 return FALSE; 3475 3475 } 3476 3476
+2 -2
drivers/staging/rt2860/oid.h
··· 557 557 /* New for MeetingHouse Api support */ 558 558 #define OID_MH_802_1X_SUPPORTED 0xFFEDC100 559 559 560 - /* MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition!!! */ 560 + /* MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition! */ 561 561 typedef union _HTTRANSMIT_SETTING { 562 562 struct { 563 563 u16 MCS:7; /* MCS */ ··· 614 614 struct rt_802_11_event_log Log[MAX_NUMBER_OF_EVENT]; 615 615 }; 616 616 617 - /* MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition!!! */ 617 + /* MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition! */ 618 618 typedef union _MACHTTRANSMIT_SETTING { 619 619 struct { 620 620 u16 MCS:7; /* MCS */
+2 -2
drivers/staging/rt2860/rt_linux.c
··· 51 51 "connects with our wireless client", /* IW_STA_LINKUP_EVENT_FLAG */ 52 52 "disconnects with our wireless client", /* IW_STA_LINKDOWN_EVENT_FLAG */ 53 53 "scan completed" /* IW_SCAN_COMPLETED_EVENT_FLAG */ 54 - "scan terminate!! Busy!! Enqueue fail!!" /* IW_SCAN_ENQUEUE_FAIL_EVENT_FLAG */ 54 + "scan terminate! Busy! Enqueue fail!" /* IW_SCAN_ENQUEUE_FAIL_EVENT_FLAG */ 55 55 }; 56 56 57 57 /* for wireless IDS_spoof_attack event message */ ··· 1282 1282 { 1283 1283 1284 1284 /* TODO: Need to fix this */ 1285 - printk("WARNING: This function(%s) not implement yet!!!\n", __func__); 1285 + printk("WARNING: This function(%s) not implement yet!\n", __func__); 1286 1286 return 0; 1287 1287 } 1288 1288
+1 -1
drivers/staging/rt2860/rt_linux.h
··· 427 427 428 428 #define DBGPRINT_ERR(Fmt) \ 429 429 { \ 430 - printk("ERROR!!! "); \ 430 + printk("ERROR! "); \ 431 431 printk Fmt; \ 432 432 } 433 433
+1 -1
drivers/staging/rt2860/rt_main_dev.c
··· 321 321 322 322 if (brc == FALSE) { 323 323 DBGPRINT(RT_DEBUG_ERROR, 324 - ("%s call RT28xxPciAsicRadioOff fail !!\n", 324 + ("%s call RT28xxPciAsicRadioOff fail!\n", 325 325 __func__)); 326 326 } 327 327 }
+1 -1
drivers/staging/rt2860/rtmp_chip.h
··· 197 197 u16 DynamicTxAgcControl:1; /* */ 198 198 u16 ExternalLNAForG:1; /* */ 199 199 u16 ExternalLNAForA:1; /* external LNA enable for 2.4G */ 200 - u16 CardbusAcceleration:1; /* !!! NOTE: 0 - enable, 1 - disable */ 200 + u16 CardbusAcceleration:1; /* ! NOTE: 0 - enable, 1 - disable */ 201 201 u16 BW40MSidebandForG:1; 202 202 u16 BW40MSidebandForA:1; 203 203 u16 EnableWPSPBC:1; /* WPS PBC Control bit */
+1 -1
drivers/staging/rt2860/rtmp_def.h
··· 409 409 #define MAX_LEN_OF_MAC_TABLE MAX_NUMBER_OF_MAC /* if MAX_MBSSID_NUM is 8, this value can't be larger than 211 */ 410 410 411 411 #if MAX_LEN_OF_MAC_TABLE>MAX_AVAILABLE_CLIENT_WCID 412 - #error MAX_LEN_OF_MAC_TABLE can not be larger than MAX_AVAILABLE_CLIENT_WCID!!!! 412 + #error MAX_LEN_OF_MAC_TABLE can not be larger than MAX_AVAILABLE_CLIENT_WCID! 413 413 #endif 414 414 415 415 #define MAX_NUM_OF_WDS_LINK_PERBSSID 3
+2 -2
drivers/staging/rt2860/sta/assoc.c
··· 563 563 pAd->Mlme.AssocMachine.CurrState = ASSOC_WAIT_RSP; 564 564 } else { 565 565 DBGPRINT(RT_DEBUG_TRACE, 566 - ("ASSOC - MlmeAssocReqAction() sanity check failed. BUG!!!!!! \n")); 566 + ("ASSOC - MlmeAssocReqAction() sanity check failed. BUG!\n")); 567 567 pAd->Mlme.AssocMachine.CurrState = ASSOC_IDLE; 568 568 Status = MLME_INVALID_FORMAT; 569 569 MlmeEnqueue(pAd, MLME_CNTL_STATE_MACHINE, MT2_ASSOC_CONF, 2, ··· 746 746 pAd->Mlme.AssocMachine.CurrState = REASSOC_WAIT_RSP; 747 747 } else { 748 748 DBGPRINT(RT_DEBUG_TRACE, 749 - ("ASSOC - MlmeReassocReqAction() sanity check failed. BUG!!!! \n")); 749 + ("ASSOC - MlmeReassocReqAction() sanity check failed. BUG!\n")); 750 750 pAd->Mlme.AssocMachine.CurrState = ASSOC_IDLE; 751 751 Status = MLME_INVALID_FORMAT; 752 752 MlmeEnqueue(pAd, MLME_CNTL_STATE_MACHINE, MT2_REASSOC_CONF, 2,
+20 -20
drivers/staging/rt2860/sta/connect.c
··· 214 214 break; 215 215 #endif /* RTMP_MAC_USB // */ 216 216 default: 217 - DBGPRINT_ERR(("!ERROR! CNTL - Illegal message type(=%ld)", 217 + DBGPRINT_ERR(("ERROR! CNTL - Illegal message type(=%ld)", 218 218 Elem->MsgType)); 219 219 break; 220 220 } ··· 911 911 pAd->CommonCfg.Bssid[5])); 912 912 } else { 913 913 DBGPRINT(RT_DEBUG_TRACE, 914 - ("CNTL - Start IBSS fail. BUG!!!!!\n")); 914 + ("CNTL - Start IBSS fail. BUG!\n")); 915 915 pAd->Mlme.CntlMachine.CurrState = CNTL_IDLE; 916 916 } 917 917 } ··· 1184 1184 /* */ 1185 1185 /* ASSOC - DisassocTimeoutAction */ 1186 1186 /* CNTL - Dis-associate successful */ 1187 - /* !!! LINK DOWN !!! */ 1187 + /* ! LINK DOWN ! */ 1188 1188 /* [88888] OID_802_11_SSID should have returned NDTEST_WEP_AP2(Returned: ) */ 1189 1189 /* */ 1190 1190 /* To prevent DisassocTimeoutAction to call Link down after we link up, */ ··· 1218 1218 if (pAd->CommonCfg.PhyMode >= PHY_11ABGN_MIXED) 1219 1219 AdhocTurnOnQos(pAd); 1220 1220 1221 - DBGPRINT(RT_DEBUG_TRACE, ("!!!Adhoc LINK UP !!! \n")); 1221 + DBGPRINT(RT_DEBUG_TRACE, ("Adhoc LINK UP!\n")); 1222 1222 } else { 1223 1223 OPSTATUS_SET_FLAG(pAd, fOP_STATUS_INFRA_ON); 1224 1224 OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_ADHOC_ON); 1225 1225 1226 - DBGPRINT(RT_DEBUG_TRACE, ("!!!Infra LINK UP !!! \n")); 1226 + DBGPRINT(RT_DEBUG_TRACE, ("Infra LINK UP!\n")); 1227 1227 } 1228 1228 1229 1229 /* 3*3 */ ··· 1262 1262 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x1A); 1263 1263 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x0A); 1264 1264 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x16); 1265 - DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n")); 1265 + DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n")); 1266 1266 } 1267 1267 1268 1268 DBGPRINT(RT_DEBUG_TRACE, 1269 - ("!!!40MHz Lower LINK UP !!! Control Channel at Below. Central = %d \n", 1269 + ("40MHz Lower LINK UP! Control Channel at Below. Central = %d \n", 1270 1270 pAd->CommonCfg.CentralChannel)); 1271 1271 } else if ((pAd->CommonCfg.CentralChannel < pAd->CommonCfg.Channel) 1272 1272 && (pAd->MlmeAux.HtCapability.HtCapInfo.ChannelWidth == ··· 1296 1296 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x1A); 1297 1297 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x0A); 1298 1298 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x16); 1299 - DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n")); 1299 + DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n")); 1300 1300 } 1301 1301 1302 1302 DBGPRINT(RT_DEBUG_TRACE, 1303 - ("!!! 40MHz Upper LINK UP !!! Control Channel at UpperCentral = %d \n", 1303 + ("40MHz Upper LINK UP! Control Channel at UpperCentral = %d \n", 1304 1304 pAd->CommonCfg.CentralChannel)); 1305 1305 } else { 1306 1306 pAd->CommonCfg.BBPCurrentBW = BW_20; ··· 1327 1327 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R69, 0x16); 1328 1328 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R70, 0x08); 1329 1329 RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R73, 0x11); 1330 - DBGPRINT(RT_DEBUG_TRACE, ("!!!rt2860C !!! \n")); 1330 + DBGPRINT(RT_DEBUG_TRACE, ("rt2860C !\n")); 1331 1331 } 1332 1332 1333 - DBGPRINT(RT_DEBUG_TRACE, ("!!! 20MHz LINK UP !!! \n")); 1333 + DBGPRINT(RT_DEBUG_TRACE, ("20MHz LINK UP!\n")); 1334 1334 } 1335 1335 1336 1336 RTMPSetAGCInitValue(pAd, pAd->CommonCfg.BBPCurrentBW); ··· 1342 1342 &pAd->BbpTuning.R66CurrentValue); 1343 1343 1344 1344 DBGPRINT(RT_DEBUG_TRACE, 1345 - ("!!! LINK UP !!! (BssType=%d, AID=%d, ssid=%s, Channel=%d, CentralChannel = %d)\n", 1345 + ("LINK UP! (BssType=%d, AID=%d, ssid=%s, Channel=%d, CentralChannel = %d)\n", 1346 1346 BssType, pAd->StaActive.Aid, pAd->CommonCfg.Ssid, 1347 1347 pAd->CommonCfg.Channel, pAd->CommonCfg.CentralChannel)); 1348 1348 1349 1349 DBGPRINT(RT_DEBUG_TRACE, 1350 - ("!!! LINK UP !!! (Density =%d, )\n", 1350 + ("LINK UP! (Density =%d, )\n", 1351 1351 pAd->MacTab.Content[BSSID_WCID].MpduDensity)); 1352 1352 1353 1353 AsicSetBssid(pAd, pAd->CommonCfg.Bssid); ··· 1634 1634 NdisReleaseSpinLock(&pAd->MacTabLock); 1635 1635 1636 1636 DBGPRINT(RT_DEBUG_TRACE, 1637 - ("!!! LINK UP !!! ClientStatusFlags=%lx)\n", 1637 + ("LINK UP! ClientStatusFlags=%lx)\n", 1638 1638 pAd->MacTab.Content[BSSID_WCID].ClientStatusFlags)); 1639 1639 1640 1640 MlmeUpdateTxRates(pAd, TRUE, BSS0); 1641 1641 MlmeUpdateHtTxRates(pAd, BSS0); 1642 1642 DBGPRINT(RT_DEBUG_TRACE, 1643 - ("!!! LINK UP !! (StaActive.bHtEnable =%d, )\n", 1643 + ("LINK UP! (StaActive.bHtEnable =%d, )\n", 1644 1644 pAd->StaActive.SupportedPhyInfo.bHtEnable)); 1645 1645 1646 1646 if (pAd->CommonCfg.bAggregationCapable) { ··· 1811 1811 pAd->CommonCfg.IOTestParm.bLastAtheros = FALSE; 1812 1812 COPY_MAC_ADDR(pAd->CommonCfg.LastBssid, pAd->CommonCfg.Bssid); 1813 1813 DBGPRINT(RT_DEBUG_TRACE, 1814 - ("!!!pAd->bNextDisableRxBA= %d \n", 1814 + ("pAd->bNextDisableRxBA= %d \n", 1815 1815 pAd->CommonCfg.IOTestParm.bNextDisableRxBA)); 1816 1816 /* BSSID add in one MAC entry too. Because in Tx, ASIC need to check Cipher and IV/EIV, BAbitmap */ 1817 1817 /* Pther information in MACTab.Content[BSSID_WCID] is not necessary for driver. */ ··· 1893 1893 BSS0, 0); 1894 1894 } 1895 1895 1896 - DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN !!!\n")); 1896 + DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN!\n")); 1897 1897 OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_AGGREGATION_INUSED); 1898 1898 1899 1899 #ifdef RTMP_MAC_PCI ··· 1921 1921 1922 1922 if (ADHOC_ON(pAd)) /* Adhoc mode link down */ 1923 1923 { 1924 - DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN 1!!!\n")); 1924 + DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN 1!\n")); 1925 1925 1926 1926 OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_ADHOC_ON); 1927 1927 OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_MEDIA_STATE_CONNECTED); ··· 1931 1931 BssTableDeleteEntry(&pAd->ScanTab, pAd->CommonCfg.Bssid, 1932 1932 pAd->CommonCfg.Channel); 1933 1933 DBGPRINT(RT_DEBUG_TRACE, 1934 - ("!!! MacTab.Size=%d !!!\n", pAd->MacTab.Size)); 1934 + (" MacTab.Size=%d !\n", pAd->MacTab.Size)); 1935 1935 } else /* Infra structure mode */ 1936 1936 { 1937 - DBGPRINT(RT_DEBUG_TRACE, ("!!! LINK DOWN 2!!!\n")); 1937 + DBGPRINT(RT_DEBUG_TRACE, ("LINK DOWN 2!\n")); 1938 1938 1939 1939 OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_INFRA_ON); 1940 1940 OPSTATUS_CLEAR_FLAG(pAd, fOP_STATUS_MEDIA_STATE_CONNECTED);
+6 -6
drivers/staging/rt2860/sta/rtmp_data.c
··· 192 192 pRxWI->RSSI1, pRxWI->RSSI2, 193 193 pRxD->PlcpSignal); 194 194 DBGPRINT_RAW(RT_DEBUG_TRACE, 195 - ("!!! report EAPOL/AIRONET DATA to MLME (len=%d) !!!\n", 195 + ("report EAPOL/AIRONET DATA to MLME (len=%d) !\n", 196 196 pRxBlk->DataSize)); 197 197 } 198 198 } ··· 940 940 941 941 if (pSrcBufVA == NULL) { 942 942 DBGPRINT(RT_DEBUG_ERROR, 943 - ("STASendPacket --> pSrcBufVA == NULL !!!SrcBufLen=%x\n", 943 + ("STASendPacket --> pSrcBufVA == NULL !SrcBufLen=%x\n", 944 944 SrcBufLen)); 945 945 /* Resourece is low, system did not allocate virtual address */ 946 946 /* return NDIS_STATUS_FAILURE directly to upper layer */ ··· 950 950 951 951 if (SrcBufLen < 14) { 952 952 DBGPRINT(RT_DEBUG_ERROR, 953 - ("STASendPacket --> Ndis Packet buffer error !!!\n")); 953 + ("STASendPacket --> Ndis Packet buffer error!\n")); 954 954 RELEASE_NDIS_PACKET(pAd, pPacket, NDIS_STATUS_FAILURE); 955 955 return (NDIS_STATUS_FAILURE); 956 956 } ··· 1007 1007 && (RTMP_GET_PACKET_EAPOL(pPacket) == FALSE) 1008 1008 ) { 1009 1009 DBGPRINT(RT_DEBUG_TRACE, 1010 - ("STASendPacket --> Drop packet before port secured !!!\n")); 1010 + ("STASendPacket --> Drop packet before port secured!\n")); 1011 1011 RELEASE_NDIS_PACKET(pAd, pPacket, NDIS_STATUS_FAILURE); 1012 1012 1013 1013 return (NDIS_STATUS_FAILURE); ··· 1680 1680 1681 1681 pMacEntry = pTxBlk->pMacEntry; 1682 1682 if (pMacEntry->isCached) { 1683 - /* NOTE: Please make sure the size of pMacEntry->CachedBuf[] is smaller than pTxBlk->HeaderBuf[]!!!! */ 1683 + /* NOTE: Please make sure the size of pMacEntry->CachedBuf[] is smaller than pTxBlk->HeaderBuf[]! */ 1684 1684 NdisMoveMemory((u8 *)& pTxBlk-> 1685 1685 HeaderBuf[TXINFO_SIZE], 1686 1686 (u8 *)& pMacEntry->CachedBuf[0], ··· 2506 2506 { 2507 2507 /* It should not happened! */ 2508 2508 DBGPRINT(RT_DEBUG_ERROR, 2509 - ("Send a pacekt was not classified!! It should not happen!\n")); 2509 + ("Send a packet was not classified! It should not happen!\n")); 2510 2510 while (pTxBlk->TxPacketList.Number) { 2511 2511 pQEntry = 2512 2512 RemoveHeadQueue(&pTxBlk->TxPacketList);
+1 -1
drivers/staging/rt2860/sta/sanity.c
··· 150 150 151 151 case IE_HT_CAP: 152 152 case IE_HT_CAP2: 153 - if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension.!! */ 153 + if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension! */ 154 154 { 155 155 NdisMoveMemory(pHtCapability, pEid->Octet, 156 156 SIZE_HT_CAP_IE);
+7 -7
drivers/staging/rt2860/sta_ioctl.c
··· 600 600 if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) { 601 601 RTMP_MLME_RESET_STATE_MACHINE(pAdapter); 602 602 DBGPRINT(RT_DEBUG_TRACE, 603 - ("!!! MLME busy, reset MLME state machine !!!\n")); 603 + ("MLME busy, reset MLME state machine!\n")); 604 604 } 605 605 /* tell CNTL state machine to call NdisMSetInformationComplete() after completing */ 606 606 /* this request, because this request is initiated by NDIS. */ ··· 741 741 742 742 if (MONITOR_ON(pAdapter)) { 743 743 DBGPRINT(RT_DEBUG_TRACE, 744 - ("!!! Driver is in Monitor Mode now !!!\n")); 744 + ("Driver is in Monitor Mode now!\n")); 745 745 return -EINVAL; 746 746 } 747 747 ··· 758 758 if ((pAdapter->StaCfg.WpaSupplicantUP == WPA_SUPPLICANT_ENABLE) 759 759 && (pAdapter->StaCfg.WpaSupplicantScanCount > 3)) { 760 760 DBGPRINT(RT_DEBUG_TRACE, 761 - ("!!! WpaSupplicantScanCount > 3\n")); 761 + ("WpaSupplicantScanCount > 3\n")); 762 762 Status = NDIS_STATUS_SUCCESS; 763 763 break; 764 764 } ··· 771 771 && (pAdapter->StaCfg.PortSecured == 772 772 WPA_802_1X_PORT_NOT_SECURED)) { 773 773 DBGPRINT(RT_DEBUG_TRACE, 774 - ("!!! Link UP, Port Not Secured! ignore this set::OID_802_11_BSSID_LIST_SCAN\n")); 774 + ("Link UP, Port Not Secured! ignore this set::OID_802_11_BSSID_LIST_SCAN\n")); 775 775 Status = NDIS_STATUS_SUCCESS; 776 776 break; 777 777 } ··· 779 779 if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) { 780 780 RTMP_MLME_RESET_STATE_MACHINE(pAdapter); 781 781 DBGPRINT(RT_DEBUG_TRACE, 782 - ("!!! MLME busy, reset MLME state machine !!!\n")); 782 + ("MLME busy, reset MLME state machine!\n")); 783 783 } 784 784 /* tell CNTL state machine to call NdisMSetInformationComplete() after completing */ 785 785 /* this request, because this request is initiated by NDIS. */ ··· 2256 2256 break; 2257 2257 default: 2258 2258 DBGPRINT(RT_DEBUG_TRACE, 2259 - ("rt_ioctl_siwpmksa - Unknow Command!!\n")); 2259 + ("rt_ioctl_siwpmksa - Unknown Command!\n")); 2260 2260 break; 2261 2261 } 2262 2262 ··· 2664 2664 if (pAdapter->Mlme.CntlMachine.CurrState != CNTL_IDLE) { 2665 2665 RTMP_MLME_RESET_STATE_MACHINE(pAdapter); 2666 2666 DBGPRINT(RT_DEBUG_TRACE, 2667 - ("!!! MLME busy, reset MLME state machine !!!\n")); 2667 + ("MLME busy, reset MLME state machine!\n")); 2668 2668 } 2669 2669 2670 2670 if ((pAdapter->StaCfg.WpaPassPhraseLen >= 8) &&
+2 -2
drivers/staging/rt2860/usb_main_dev.c
··· 584 584 RTMP_IO_READ32(pAd, TXRXQ_PCNT, &MACValue); 585 585 if ((MACValue & 0xff) != 0) { 586 586 DBGPRINT(RT_DEBUG_TRACE, 587 - ("TX QUEUE 0 Not EMPTY(Value=0x%0x). !!!!!!!!!!!!!!!\n", 587 + ("TX QUEUE 0 Not EMPTY(Value=0x%0x)!\n", 588 588 MACValue)); 589 589 RTMP_IO_WRITE32(pAd, PBF_CFG, 0xf40012); 590 590 while ((MACValue & 0xff) != 0 && (idx++ < 10)) { ··· 707 707 } 708 708 } else { 709 709 DBGPRINT(RT_DEBUG_ERROR, 710 - ("Unkonw bulkOut URB maybe hanged!!!!!!!!!!!!\n")); 710 + ("Unknown bulkOut URB maybe hanged!\n")); 711 711 } 712 712 } else { 713 713 RTMP_IRQ_UNLOCK(&pAd->BulkOutLock[idx],