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

Staging: fix assorted typos all over the place

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

André Goddard Rosa and committed by
Greg Kroah-Hartman
bbc9a991 d52ac3f2

+118 -118
+3 -3
drivers/staging/altpciechdma/altpciechdma.c
··· 212 212 int msi_enabled; 213 213 /* whether this driver could obtain the regions */ 214 214 int got_regions; 215 - /* irq line succesfully requested by this driver, -1 otherwise */ 215 + /* irq line successfully requested by this driver, -1 otherwise */ 216 216 int irq_line; 217 217 /* board revision */ 218 218 u8 revision; ··· 336 336 printk(KERN_DEBUG "BAR[%d] mapped at 0x%p with length %lu(/%lu).\n", i, 337 337 ape->bar[i], bar_min_len[i], bar_length); 338 338 } 339 - /* succesfully mapped all required BAR regions */ 339 + /* successfully mapped all required BAR regions */ 340 340 rc = 0; 341 341 goto success; 342 342 fail: ··· 911 911 /* perform DMA engines loop back test */ 912 912 rc = dma_test(ape, dev); 913 913 (void)rc; 914 - /* succesfully took the device */ 914 + /* successfully took the device */ 915 915 rc = 0; 916 916 printk(KERN_DEBUG "probe() successful.\n"); 917 917 goto end;
+3 -3
drivers/staging/comedi/drivers/addi-data/APCI1710_INCCPT.c
··· 3807 3807 s_ModuleInfo[b_ModulNbr]. 3808 3808 s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) { 3809 3809 /********************************************/ 3810 - /* Test if frequency mesurement initialised */ 3810 + /* Test if frequency measurement initialised */ 3811 3811 /********************************************/ 3812 3812 3813 3813 if (devpriv-> ··· 3953 3953 s_ModuleInfo[b_ModulNbr]. 3954 3954 s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) { 3955 3955 /********************************************/ 3956 - /* Test if frequency mesurement initialised */ 3956 + /* Test if frequency measurement initialised */ 3957 3957 /********************************************/ 3958 3958 3959 3959 if (devpriv-> ··· 5166 5166 s_ModuleInfo[b_ModulNbr]. 5167 5167 s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) { 5168 5168 /********************************************/ 5169 - /* Test if frequency mesurement initialised */ 5169 + /* Test if frequency measurement initialised */ 5170 5170 /********************************************/ 5171 5171 5172 5172 if (devpriv->
+1 -1
drivers/staging/comedi/drivers/addi-data/APCI1710_Tor.c
··· 1808 1808 2) { 1809 1809 if (dw_Status & 4) { 1810 1810 /************************/ 1811 - /* Tor counter owerflow */ 1811 + /* Tor counter overflow */ 1812 1812 /************************/ 1813 1813 1814 1814 *pb_TorCounterStatus
+1 -1
drivers/staging/comedi/drivers/addi-data/addi_common.h
··· 82 82 83 83 int i_NbrDiChannel; /* Number of DI channels */ 84 84 int i_NbrDoChannel; /* Number of DO channels */ 85 - int i_DoMaxdata; /* data to set all chanels high */ 85 + int i_DoMaxdata; /* data to set all channels high */ 86 86 87 87 int i_NbrTTLChannel; /* Number of TTL channels */ 88 88 const struct comedi_lrange *pr_TTLRangelist; /* rangelist for TTL */
+1 -1
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c
··· 1468 1468 int_amcc = inl(devpriv->i_IobaseAmcc + AMCC_OP_REG_INTCSR); /* get AMCC int register */ 1469 1469 1470 1470 if ((!int_daq) && (!(int_amcc & ANY_S593X_INT))) { 1471 - comedi_error(dev, "IRQ from unknow source"); 1471 + comedi_error(dev, "IRQ from unknown source"); 1472 1472 return; 1473 1473 } 1474 1474
+1 -1
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c
··· 724 724 APCI3501_TCW_IRQ) & 0x1; 725 725 726 726 if ((!ui_Timer_AOWatchdog)) { 727 - comedi_error(dev, "IRQ from unknow source"); 727 + comedi_error(dev, "IRQ from unknown source"); 728 728 return; 729 729 } 730 730
+2 -2
drivers/staging/comedi/drivers/cb_pcidio.c
··· 109 109 several hardware drivers keep similar information in this structure, 110 110 feel free to suggest moving the variable to the struct comedi_device struct. */ 111 111 struct pcidio_private { 112 - int data; /* curently unused */ 112 + int data; /* currently unused */ 113 113 114 114 /* would be useful for a PCI device */ 115 115 struct pci_dev *pci_dev; 116 116 117 - /* used for DO readback, curently unused */ 117 + /* used for DO readback, currently unused */ 118 118 unsigned int do_readback[4]; /* up to 4 unsigned int suffice to hold 96 bits for PCI-DIO96 */ 119 119 120 120 unsigned long dio_reg_base; /* address of port A of the first 8255 chip on board */
+1 -1
drivers/staging/comedi/drivers/me4000.c
··· 840 840 "comedi%d: me4000: xilinx_download(): DONE flag is not set\n", 841 841 dev->minor); 842 842 printk(KERN_ERR 843 - "comedi%d: me4000: xilinx_download(): Download not succesful\n", 843 + "comedi%d: me4000: xilinx_download(): Download not successful\n", 844 844 dev->minor); 845 845 return -EIO; 846 846 }
+3 -3
drivers/staging/comedi/drivers/pcl812.c
··· 51 51 5=A/D input range is +/-0.3125V 52 52 [5] - 0=D/A outputs 0-5V (internal reference -5V) 53 53 1=D/A outputs 0-10V (internal reference -10V) 54 - 2=D/A outputs unknow (external reference) 54 + 2=D/A outputs unknown (external reference) 55 55 56 56 Options for PCL-812PG, ACL-8112PG: 57 57 [0] - IO Base ··· 63 63 1=A/D have max +/-10V input 64 64 [5] - 0=D/A outputs 0-5V (internal reference -5V) 65 65 1=D/A outputs 0-10V (internal reference -10V) 66 - 2=D/A outputs unknow (external reference) 66 + 2=D/A outputs unknown (external reference) 67 67 68 68 Options for ACL-8112DG/HG, A-822PGL/PGH, A-823PGL/PGH, ACL-8216, A-826PG: 69 69 [0] - IO Base ··· 75 75 1=A/D channels are DIFF 76 76 [5] - 0=D/A outputs 0-5V (internal reference -5V) 77 77 1=D/A outputs 0-10V (internal reference -10V) 78 - 2=D/A outputs unknow (external reference) 78 + 2=D/A outputs unknown (external reference) 79 79 80 80 Options for A-821PGL/PGH: 81 81 [0] - IO Base
+2 -2
drivers/staging/comedi/drivers/pcl816.c
··· 112 112 int n_dichan; /* num of DI chans */ 113 113 int n_dochan; /* num of DO chans */ 114 114 const struct comedi_lrange *ai_range_type; /* default A/D rangelist */ 115 - const struct comedi_lrange *ao_range_type; /* dafault D/A rangelist */ 115 + const struct comedi_lrange *ao_range_type; /* default D/A rangelist */ 116 116 unsigned int io_range; /* len of IO space */ 117 117 unsigned int IRQbits; /* allowed interrupts */ 118 118 unsigned int DMAbits; /* allowed DMA chans */ ··· 445 445 comedi_error(dev, "bad IRQ!"); 446 446 return IRQ_NONE; 447 447 } 448 - comedi_error(dev, "IRQ from unknow source!"); 448 + comedi_error(dev, "IRQ from unknown source!"); 449 449 return IRQ_NONE; 450 450 } 451 451
+5 -5
drivers/staging/comedi/drivers/pcl818.c
··· 50 50 1, 10=A/D input -10V..+10V 51 51 [5] - 0, 5=D/A output 0-5V (internal reference -5V) 52 52 1, 10=D/A output 0-10V (internal reference -10V) 53 - 2 =D/A output unknow (external reference) 53 + 2 =D/A output unknown (external reference) 54 54 55 55 Options for PCL-818, PCL-818H: 56 56 [0] - IO Base ··· 60 60 1= 1MHz clock for 8254 61 61 [4] - 0, 5=D/A output 0-5V (internal reference -5V) 62 62 1, 10=D/A output 0-10V (internal reference -10V) 63 - 2 =D/A output unknow (external reference) 63 + 2 =D/A output unknown (external reference) 64 64 65 65 Options for PCL-818HD, PCL-818HG: 66 66 [0] - IO Base ··· 71 71 1= 1MHz clock for 8254 72 72 [4] - 0, 5=D/A output 0-5V (internal reference -5V) 73 73 1, 10=D/A output 0-10V (internal reference -10V) 74 - 2 =D/A output unknow (external reference) 74 + 2 =D/A output unknown (external reference) 75 75 76 76 Options for PCL-718: 77 77 [0] - IO Base ··· 92 92 10= user defined unipolar 93 93 [5] - 0, 5=D/A outputs 0-5V (internal reference -5V) 94 94 1, 10=D/A outputs 0-10V (internal reference -10V) 95 - 2=D/A outputs unknow (external reference) 95 + 2=D/A outputs unknown (external reference) 96 96 [6] - 0, 60=max 60kHz A/D sampling 97 97 1,100=max 100kHz A/D sampling (PCL-718 with Option 001 installed) 98 98 ··· 876 876 return IRQ_NONE; 877 877 } 878 878 879 - comedi_error(dev, "IRQ from unknow source!"); 879 + comedi_error(dev, "IRQ from unknown source!"); 880 880 return IRQ_NONE; 881 881 } 882 882
+1 -1
drivers/staging/dst/export.c
··· 203 203 * so to play good with all cases we just queue BIO into the queue 204 204 * and wake up processing thread, which gets completed request and 205 205 * send (encrypting if needed) it back to the client (if it was a read 206 - * request), or sends back reply that writing succesfully completed. 206 + * request), or sends back reply that writing successfully completed. 207 207 */ 208 208 static int dst_export_process_request_queue(struct dst_state *st) 209 209 {
+1 -1
drivers/staging/et131x/et131x_adapter.h
··· 162 162 u32 tx_deferred; 163 163 164 164 /* Rx Statistics. */ 165 - u32 rx_ov_flow; /* Rx Over Flow */ 165 + u32 rx_ov_flow; /* Rx Overflow */ 166 166 167 167 u32 length_err; 168 168 u32 alignment_err;
+2 -2
drivers/staging/hv/hv_api.h
··· 316 316 317 317 /* 318 318 * HV_STATUS_VMX_INSTRUCTION_FAILED 319 - * The requested VMX instruction failed to complete succesfully. 319 + * The requested VMX instruction failed to complete successfully. 320 320 */ 321 321 #define HV_STATUS_VMX_INSTRUCTION_FAILED ((u16)0x1011) 322 322 323 323 /* 324 324 * HV_STATUS_VMX_INSTRUCTION_FAILED_WITH_STATUS 325 - * The requested VMX instruction failed to complete succesfully indicating 325 + * The requested VMX instruction failed to complete successfully indicating 326 326 * status. 327 327 */ 328 328 #define HV_STATUS_VMX_INSTRUCTION_FAILED_WITH_STATUS ((u16)0x1012)
+3 -3
drivers/staging/iio/accel/accel.h
··· 31 31 IIO_DEVICE_ATTR(accel_z, S_IRUGO, _show, NULL, _addr) 32 32 33 33 /* Thresholds are somewhat chip dependent - may need quite a few defs here */ 34 - /* For unified thesholds (shared across all directions */ 34 + /* For unified thresholds (shared across all directions */ 35 35 36 36 /** 37 37 * IIO_DEV_ATTR_ACCEL_THRESH: unified threshold 38 38 * @_mode: read/write 39 39 * @_show: read detector threshold value 40 - * @_store: write detector theshold value 40 + * @_store: write detector threshold value 41 41 * @_addr: driver specific data, typically a register address 42 42 * 43 43 * This one is for cases where as single threshold covers all directions ··· 48 48 /** 49 49 * IIO_DEV_ATTR_ACCEL_THRESH_X: independant direction threshold, x axis 50 50 * @_mode: readable / writable 51 - * @_show: read x axis detector theshold value 51 + * @_show: read x axis detector threshold value 52 52 * @_store: write x axis detector threshold value 53 53 * @_addr: device driver dependant, typically a register address 54 54 **/
+2 -2
drivers/staging/iio/accel/sca3000.h
··· 74 74 #define SCA3000_MEAS_MODE_OP_2 0x02 75 75 76 76 /* In motion detection mode the accelerations are band pass filtered 77 - * (aprox 1 - 25Hz) and then a programmable theshold used to trigger 77 + * (aprox 1 - 25Hz) and then a programmable threshold used to trigger 78 78 * and interrupt. 79 79 */ 80 80 #define SCA3000_MEAS_MODE_MOT_DET 0x03 ··· 139 139 /* Values of mulipexed registers (write to ctrl_data after select) */ 140 140 #define SCA3000_REG_ADDR_CTRL_DATA 0x22 141 141 142 - /* Measurment modes available on some sca3000 series chips. Code assumes others 142 + /* Measurement modes available on some sca3000 series chips. Code assumes others 143 143 * may become available in the future. 144 144 * 145 145 * Bypass - Bypass the low-pass filter in the signal channel so as to increase
+1 -1
drivers/staging/iio/accel/sca3000_core.c
··· 720 720 static IIO_DEV_ATTR_TEMP(sca3000_read_temp); 721 721 722 722 /** 723 - * sca3000_show_thresh() sysfs query of a theshold 723 + * sca3000_show_thresh() sysfs query of a threshold 724 724 **/ 725 725 static ssize_t sca3000_show_thresh(struct device *dev, 726 726 struct device_attribute *attr,
+1 -1
drivers/staging/octeon/cvmx-pow.h
··· 1959 1959 * @buffer_size: 1960 1960 * The size of the supplied buffer 1961 1961 * 1962 - * Returns Zero on sucess, negative on failure 1962 + * Returns Zero on success, negative on failure 1963 1963 */ 1964 1964 extern int cvmx_pow_capture(void *buffer, int buffer_size); 1965 1965
+1 -1
drivers/staging/octeon/ethernet-tx.c
··· 624 624 EXPORT_SYMBOL(cvm_oct_transmit_qos); 625 625 626 626 /** 627 - * This function frees all skb that are currenty queued for TX. 627 + * This function frees all skb that are currently queued for TX. 628 628 * 629 629 * @dev: Device being shutdown 630 630 */
+2 -2
drivers/staging/otus/80211core/ccmd.c
··· 899 899 zfStaDisableSWEncryption(dev); 900 900 } 901 901 902 - /* Improve WEP/TKIP performace with HT AP, 902 + /* Improve WEP/TKIP performance with HT AP, 903 903 detail information please look bug#32495 */ 904 904 /* zfHpSetTTSIFSTime(dev, 0x8); */ 905 905 ··· 1407 1407 zfStaDisableSWEncryption(dev); 1408 1408 } 1409 1409 1410 - /* Improve WEP/TKIP performace with HT AP, 1410 + /* Improve WEP/TKIP performance with HT AP, 1411 1411 detail information please look bug#32495 1412 1412 */ 1413 1413 /* zfHpSetTTSIFSTime(dev, 0x8); */
+2 -2
drivers/staging/otus/80211core/cmm.c
··· 1428 1428 { 1429 1429 /* Beacon */ 1430 1430 case ZM_WLAN_FRAME_TYPE_BEACON : 1431 - /* if enable 802.11h and current chanel is silent but receive beacon from other AP */ 1431 + /* if enable 802.11h and current channel is silent but receive beacon from other AP */ 1432 1432 if (((wd->regulationTable.allowChannel[wd->regulationTable.CurChIndex].channelFlags 1433 1433 & ZM_REG_FLAG_CHANNEL_CSA) != 0) && wd->sta.DFSEnable) 1434 1434 { ··· 1469 1469 break; 1470 1470 /* Probe response */ 1471 1471 case ZM_WLAN_FRAME_TYPE_PROBERSP : 1472 - /* if enable 802.11h and current chanel is silent but receive probe response from other AP */ 1472 + /* if enable 802.11h and current channel is silent but receive probe response from other AP */ 1473 1473 if (((wd->regulationTable.allowChannel[wd->regulationTable.CurChIndex].channelFlags 1474 1474 & ZM_REG_FLAG_CHANNEL_CSA) != 0) && wd->sta.DFSEnable) 1475 1475 {
+2 -2
drivers/staging/otus/80211core/cmmsta.c
··· 216 216 /* Change internal state */ 217 217 zfChangeAdapterState(dev, ZM_STA_STATE_DISCONNECT); 218 218 219 - /* Improve WEP/TKIP performace with HT AP, detail information please look bug#32495 */ 219 + /* Improve WEP/TKIP performance with HT AP, detail information please look bug#32495 */ 220 220 //zfHpSetTTSIFSTime(dev, 0x8); 221 221 222 222 /* Notify wrapper of connection status changes */ ··· 4148 4148 wd->sta.bIsSharedKey = 0; 4149 4149 } 4150 4150 4151 - /* Improve WEP/TKIP performace with HT AP, detail information please look bug#32495 */ 4151 + /* Improve WEP/TKIP performance with HT AP, detail information please look bug#32495 */ 4152 4152 /* 4153 4153 if ( (pBssInfo->broadcomHTAp == 1) 4154 4154 && (wd->sta.SWEncryptEnable != 0) )
+1 -1
drivers/staging/otus/80211core/ctxrx.c
··· 3093 3093 3094 3094 frameType = zmw_rx_buf_readh(dev, buf, offset); 3095 3095 3096 - // Don't divide 2^4 because we don't want the fragementation pkt to be treated as 3096 + // Don't divide 2^4 because we don't want the fragmentation pkt to be treated as 3097 3097 // duplicated frames 3098 3098 seq = zmw_rx_buf_readh(dev, buf, offset+22); 3099 3099 dst0 = zmw_rx_buf_readh(dev, buf, offset+4);
+1 -1
drivers/staging/otus/80211core/pub_zfi.h
··· 782 782 783 783 /***** End of section 2 *****/ 784 784 785 - /***** section 3 performace evaluation *****/ 785 + /***** section 3 performance evaluation *****/ 786 786 #ifdef ZM_ENABLE_PERFORMANCE_EVALUATION 787 787 extern void zfiTxPerformanceMSDU(zdev_t* dev, u32_t tick); 788 788 extern void zfiRxPerformanceMPDU(zdev_t* dev, zbuf_t* buf);
+1 -1
drivers/staging/quatech_usb2/quatech_usb2.c
··· 1670 1670 dbg("%s(): failed resubmitting read urb, error %d", 1671 1671 __func__, result); 1672 1672 } else { 1673 - dbg("%s() sucessfully resumitted read urb", __func__); 1673 + dbg("%s() successfully resubmitted read urb", __func__); 1674 1674 if (tty_st && RxCount) { 1675 1675 /* if some inbound data was processed, then 1676 1676 * we need to push that through the tty layer
+2 -2
drivers/staging/rar/rar_driver.c
··· 66 66 static void __exit rar_exit_handler(void); 67 67 68 68 /* 69 - function that is activated on the succesfull probe of the RAR device 69 + function that is activated on the successfull probe of the RAR device 70 70 */ 71 71 static int __devinit rar_probe(struct pci_dev *pdev, const struct pci_device_id *ent); 72 72 ··· 319 319 } 320 320 321 321 /* 322 - function that is activaed on the succesfull probe of the RAR device 322 + function that is activated on the successfull probe of the RAR device 323 323 */ 324 324 static int __devinit rar_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 325 325 {
+1 -1
drivers/staging/rt2860/sta/rtmp_data.c
··· 913 913 pPacket Pointer to send packet 914 914 915 915 Return Value: 916 - NDIS_STATUS_SUCCESS If succes to queue the packet into TxSwQueue. 916 + NDIS_STATUS_SUCCESS If success to queue the packet into TxSwQueue. 917 917 NDIS_STATUS_FAILURE If failed to do en-queue. 918 918 919 919 Note:
+3 -3
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
··· 1837 1837 1838 1838 if (((ieee->current_network.wmm_info^info_element->data[6])& \ 1839 1839 0x0f)||(!ieee->init_wmmparam_flag)) { 1840 - //refresh paramete element for current network 1840 + // refresh parameter element for current network 1841 1841 // update the register parameter for hardware 1842 1842 ieee->init_wmmparam_flag = 1; 1843 1843 queue_work(ieee->wq, &ieee->wmm_param_update_wq); ··· 1958 1958 * care of the ieee802.11 fragmentation. 1959 1959 * So the driver receives a fragment per time and might 1960 1960 * call the stop function when it want without take care 1961 - * to have enought room to TX an entire packet. 1961 + * to have enough room to TX an entire packet. 1962 1962 * This might be useful if each fragment need it's own 1963 1963 * descriptor, thus just keep a total free memory > than 1964 - * the max fragmentation treshold is not enought.. If the 1964 + * the max fragmentation threshold is not enough.. If the 1965 1965 * ieee802.11 stack passed a TXB struct then you needed 1966 1966 * to keep N free descriptors where 1967 1967 * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
+1 -1
drivers/staging/rtl8187se/r8180.h
··· 599 599 u8 RSSI; 600 600 char RxPower; 601 601 u8 InitialGain; 602 - //For adjust Dig Threshhold during Legacy/Leisure Power Save Mode 602 + //For adjust Dig Threshold during Legacy/Leisure Power Save Mode 603 603 u32 DozePeriodInPast2Sec; 604 604 // Don't access BB/RF under disable PLL situation. 605 605 u8 InitialGainBackUp;
+5 -5
drivers/staging/rtl8187se/r8180_core.c
··· 1848 1848 sizeof(u8), 1849 1849 PCI_DMA_FROMDEVICE); 1850 1850 1851 - drop: // this is used when we have not enought mem 1851 + drop: // this is used when we have not enough mem 1852 1852 /* restore the descriptor */ 1853 1853 *(priv->rxringtail+2)=priv->rxbuffer->dma; 1854 1854 *(priv->rxringtail)=*(priv->rxringtail) &~ 0xfff; ··· 1919 1919 /* 1920 1920 * This function doesn't require lock because we make 1921 1921 * sure it's called with the tx_lock already acquired. 1922 - * this come from the kernel's hard_xmit callback (trought 1923 - * the ieee stack, or from the try_wake_queue (again trought 1922 + * this come from the kernel's hard_xmit callback (through 1923 + * the ieee stack, or from the try_wake_queue (again through 1924 1924 * the ieee stack. 1925 1925 */ 1926 1926 priority = AC2Q(skb->priority); ··· 3399 3399 /* 3400 3400 The following is very strange. seems to be that 1 means test mode, 3401 3401 but we need to acknolwledges the nic when a packet is ready 3402 - altought we set it to 0 3402 + although we set it to 0 3403 3403 */ 3404 3404 3405 3405 write_nic_byte(dev, ··· 4144 4144 } 4145 4145 4146 4146 /* we check all the descriptors between the head and the nic, 4147 - * but not the currenly pointed by the nic (the next to be txed) 4147 + * but not the currently pointed by the nic (the next to be txed) 4148 4148 * and the previous of the pointed (might be in process ??) 4149 4149 */ 4150 4150 offs = (nic - nicbegin);
+6 -6
drivers/staging/rtl8187se/r8180_dm.c
··· 36 36 // 37 37 // Note: 38 38 // The reason why we udpate Tx power level here instead of DoRxHighPower() 39 - // is the number of IO to change Tx power is much more than chane TR switch 39 + // is the number of IO to change Tx power is much more than channel TR switch 40 40 // and they are related to OFDM and MAC registers. 41 41 // So, we don't want to update it so frequently in per-Rx packet base. 42 42 // ··· 1326 1326 break; 1327 1327 1328 1328 default: 1329 - printk("SetAntenna8185: unkown RFChipID(%d)\n", priv->rf_chip); 1329 + printk("SetAntenna8185: unknown RFChipID(%d)\n", priv->rf_chip); 1330 1330 break; 1331 1331 } 1332 1332 break; ··· 1346 1346 break; 1347 1347 1348 1348 default: 1349 - printk("SetAntenna8185: unkown RFChipID(%d)\n", priv->rf_chip); 1349 + printk("SetAntenna8185: unknown RFChipID(%d)\n", priv->rf_chip); 1350 1350 break; 1351 1351 } 1352 1352 break; 1353 1353 1354 1354 default: 1355 - printk("SetAntenna8185: unkown u1bAntennaIndex(%d)\n", u1bAntennaIndex); 1355 + printk("SetAntenna8185: unknown u1bAntennaIndex(%d)\n", u1bAntennaIndex); 1356 1356 break; 1357 1357 } 1358 1358 ··· 1448 1448 1449 1449 priv->bAdSwitchedChecking = false; 1450 1450 1451 - // Adjust Rx signal strength threashold. 1451 + // Adjust Rx signal strength threshold. 1452 1452 priv->AdRxSsThreshold = (priv->AdRxSignalStrength + priv->AdRxSsBeforeSwitched) / 2; 1453 1453 1454 1454 priv->AdRxSsThreshold = (priv->AdRxSsThreshold > priv->AdMaxRxSsThreshold) ? ··· 1562 1562 // priv->AdRxSignalStrength, priv->AdRxSsThreshold); 1563 1563 1564 1564 priv->bAdSwitchedChecking = false; 1565 - // Increase Rx signal strength threashold if necessary. 1565 + // Increase Rx signal strength threshold if necessary. 1566 1566 if( (priv->AdRxSignalStrength > (priv->AdRxSsThreshold + 10)) && // Signal is much stronger than current threshold 1567 1567 priv->AdRxSsThreshold <= priv->AdMaxRxSsThreshold) // Current threhold is not yet reach upper limit. 1568 1568 {
+1 -1
drivers/staging/rtl8187se/r8180_rtl8225z2.c
··· 1058 1058 break; 1059 1059 default: 1060 1060 bResult = false; 1061 - printk("SetZebraRFPowerState8185(): unknow state to set: 0x%X!!!\n", eRFPowerState); 1061 + printk("SetZebraRFPowerState8185(): unknown state to set: 0x%X!!!\n", eRFPowerState); 1062 1062 break; 1063 1063 } 1064 1064 break;
+1 -1
drivers/staging/rtl8187se/r8180_wx.c
··· 276 276 range->max_qual.updated = 7; /* Updated all three */ 277 277 278 278 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */ 279 - /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 279 + /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ 280 280 range->avg_qual.level = 20 + -98; 281 281 range->avg_qual.noise = 0; 282 282 range->avg_qual.updated = 7; /* Updated all three */
+2 -2
drivers/staging/rtl8187se/r8185b_init.c
··· 2493 2493 PhyConfig8185(dev); 2494 2494 2495 2495 // We assume RegWirelessMode has already been initialized before, 2496 - // however, we has to validate the wireless mode here and provide a reasonble 2497 - // initialized value if necessary. 2005.01.13, by rcnjko. 2496 + // however, we has to validate the wireless mode here and provide a 2497 + // reasonable initialized value if necessary. 2005.01.13, by rcnjko. 2498 2498 SupportedWirelessMode = GetSupportedWirelessMode8185(dev); 2499 2499 if( (ieee->mode != WIRELESS_MODE_B) && 2500 2500 (ieee->mode != WIRELESS_MODE_G) &&
+1 -1
drivers/staging/rtl8192e/ieee80211/ieee80211_module.c
··· 164 164 ieee->privacy_invoked = 0; 165 165 ieee->ieee802_1x = 1; 166 166 ieee->raw_tx = 0; 167 - //ieee->hwsec_support = 1; //defalt support hw security. //use module_param instead. 167 + //ieee->hwsec_support = 1; //default support hw security. //use module_param instead. 168 168 ieee->hwsec_active = 0; //disable hwsec, switch it on when necessary. 169 169 170 170 ieee80211_softmac_init(ieee);
+2 -2
drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c
··· 2330 2330 * care of the ieee802.11 fragmentation. 2331 2331 * So the driver receives a fragment per time and might 2332 2332 * call the stop function when it want without take care 2333 - * to have enought room to TX an entire packet. 2333 + * to have enough room to TX an entire packet. 2334 2334 * This might be useful if each fragment need it's own 2335 2335 * descriptor, thus just keep a total free memory > than 2336 - * the max fragmentation treshold is not enought.. If the 2336 + * the max fragmentation threshold is not enough.. If the 2337 2337 * ieee802.11 stack passed a TXB struct then you needed 2338 2338 * to keep N free descriptors where 2339 2339 * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
+1 -1
drivers/staging/rtl8192e/r8190_rtl8256.c
··· 629 629 630 630 default: 631 631 bResult = false; 632 - RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknow state to set: 0x%X!!!\n", eRFPowerState); 632 + RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknown state to set: 0x%X!!!\n", eRFPowerState); 633 633 break; 634 634 } 635 635
+3 -3
drivers/staging/rtl8192e/r8192E_core.c
··· 1041 1041 tx_desc_819x_pci *entry = &ring->desc[ring->idx]; 1042 1042 struct sk_buff *skb; 1043 1043 1044 - /* beacon packet will only use the first descriptor defautly, 1044 + /* beacon packet will only use the first descriptor defaultly, 1045 1045 * and the OWN may not be cleared by the hardware 1046 1046 * */ 1047 1047 if(prio != BEACON_QUEUE) { ··· 2562 2562 priv->bTXPowerDataReadFromEEPORM = false; 2563 2563 } 2564 2564 2565 - // 2007/11/15 MH 8190PCI Default=2T4R, 8192PCIE dafault=1T2R 2565 + // 2007/11/15 MH 8190PCI Default=2T4R, 8192PCIE default=1T2R 2566 2566 priv->rf_type = RTL819X_DEFAULT_RF_TYPE; 2567 2567 2568 2568 if(priv->card_8192_version > VERSION_8190_BD) ··· 3554 3554 //spin_lock_irqsave(&priv->tx_lock,flags); 3555 3555 /* prepare misc info for the beacon xmit */ 3556 3556 tcb_desc->queue_index = BEACON_QUEUE; 3557 - /* IBSS does not support HT yet, use 1M defautly */ 3557 + /* IBSS does not support HT yet, use 1M defaultly */ 3558 3558 tcb_desc->data_rate = 2; 3559 3559 tcb_desc->RATRIndex = 7; 3560 3560 tcb_desc->bTxDisableRateFallBack = 1;
+10 -10
drivers/staging/rtl8192e/r8192E_dm.c
··· 455 455 (pra->low_rssi_thresh_for_ra40M):(pra->low_rssi_thresh_for_ra20M); 456 456 } 457 457 458 - //DbgPrint("[DM] THresh H/L=%d/%d\n\r", RATR.HighRSSIThreshForRA, RATR.LowRSSIThreshForRA); 458 + //DbgPrint("[DM] Thresh H/L=%d/%d\n\r", RATR.HighRSSIThreshForRA, RATR.LowRSSIThreshForRA); 459 459 if(priv->undecorated_smoothed_pwdb >= (long)HighRSSIThreshForRA) 460 460 { 461 461 //DbgPrint("[DM] RSSI=%d STA=HIGH\n\r", pHalData->UndecoratedSmoothedPWDB); ··· 571 571 0x5a400169, // 3, +3db 572 572 0x50800142, // 4, +2db 573 573 0x47c0011f, // 5, +1db 574 - 0x40000100, // 6, +0db ===> default, upper for higher temprature, lower for low temprature 574 + 0x40000100, // 6, +0db ===> default, upper for higher temperature, lower for low temperature 575 575 0x390000e4, // 7, -1db 576 576 0x32c000cb, // 8, -2db 577 577 0x2d4000b5, // 9, -3db ··· 932 932 RT_TRACE(COMP_POWER_TRACKING, "Readback ThermalMeterA = %d \n", tmpRegA); 933 933 if(tmpRegA < 3 || tmpRegA > 13) 934 934 return; 935 - if(tmpRegA >= 12) // if over 12, TP will be bad when high temprature 935 + if(tmpRegA >= 12) // if over 12, TP will be bad when high temperature 936 936 tmpRegA = 12; 937 937 RT_TRACE(COMP_POWER_TRACKING, "Valid ThermalMeterA = %d \n", tmpRegA); 938 938 priv->ThermalMeter[0] = ThermalMeterVal; //We use fixed value by Bryant's suggestion 939 939 priv->ThermalMeter[1] = ThermalMeterVal; //We use fixed value by Bryant's suggestion 940 940 941 - //Get current RF-A temprature index 942 - if(priv->ThermalMeter[0] >= (u8)tmpRegA) //lower temprature 941 + //Get current RF-A temperature index 942 + if(priv->ThermalMeter[0] >= (u8)tmpRegA) //lower temperature 943 943 { 944 944 tmpOFDMindex = tmpCCK20Mindex = 6+(priv->ThermalMeter[0]-(u8)tmpRegA); 945 945 tmpCCK40Mindex = tmpCCK20Mindex - 6; ··· 953 953 else 954 954 { 955 955 tmpval = ((u8)tmpRegA - priv->ThermalMeter[0]); 956 - if(tmpval >= 6) // higher temprature 956 + if(tmpval >= 6) // higher temperature 957 957 tmpOFDMindex = tmpCCK20Mindex = 0; // max to +6dB 958 958 else 959 959 tmpOFDMindex = tmpCCK20Mindex = 6 - tmpval; ··· 2017 2017 dm_digtable.dbg_mode = DM_DBG_OFF; //off=by real rssi value, on=by DM_DigTable.Rssi_val for new dig 2018 2018 dm_digtable.dig_algorithm_switch = 0; 2019 2019 2020 - /* 2007/10/04 MH Define init gain threshol. */ 2020 + /* 2007/10/04 MH Define init gain threshold. */ 2021 2021 dm_digtable.dig_state = DM_STA_DIG_MAX; 2022 2022 dm_digtable.dig_highpwr_state = DM_STA_DIG_MAX; 2023 2023 dm_digtable.initialgain_lowerbound_state = false; ··· 2145 2145 /*DbgPrint("DIG Check\n\r RSSI=%d LOW=%d HIGH=%d STATE=%d", 2146 2146 pHalData->UndecoratedSmoothedPWDB, DM_DigTable.RssiLowThresh, 2147 2147 DM_DigTable.RssiHighThresh, DM_DigTable.Dig_State);*/ 2148 - /* 1. When RSSI decrease, We have to judge if it is smaller than a treshold 2148 + /* 1. When RSSI decrease, We have to judge if it is smaller than a threshold 2149 2149 and then execute below step. */ 2150 2150 if ((priv->undecorated_smoothed_pwdb <= dm_digtable.rssi_low_thresh)) 2151 2151 { ··· 2205 2205 2206 2206 } 2207 2207 2208 - /* 2. When RSSI increase, We have to judge if it is larger than a treshold 2208 + /* 2. When RSSI increase, We have to judge if it is larger than a threshold 2209 2209 and then execute below step. */ 2210 2210 if ((priv->undecorated_smoothed_pwdb >= dm_digtable.rssi_high_thresh) ) 2211 2211 { ··· 2314 2314 } 2315 2315 2316 2316 /* 3. When RSSI >75% or <70%, it is a high power issue. We have to judge if 2317 - it is larger than a treshold and then execute below step. */ 2317 + it is larger than a threshold and then execute below step. */ 2318 2318 // 2008/02/05 MH SD3-Jerry Modify PD_TH for high power issue. 2319 2319 if (priv->undecorated_smoothed_pwdb >= dm_digtable.rssi_high_power_highthresh) 2320 2320 {
+1 -1
drivers/staging/rtl8192e/r8192E_wx.c
··· 446 446 range->max_qual.updated = 7; /* Updated all three */ 447 447 448 448 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */ 449 - /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 449 + /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ 450 450 range->avg_qual.level = 20 + -98; 451 451 range->avg_qual.noise = 0; 452 452 range->avg_qual.updated = 7; /* Updated all three */
+1 -1
drivers/staging/rtl8192e/r819xE_cmdpkt.c
··· 783 783 784 784 default: 785 785 786 - RT_TRACE(COMP_EVENTS, "---->cmpk_message_handle_rx():unknow CMD Element\n"); 786 + RT_TRACE(COMP_EVENTS, "---->cmpk_message_handle_rx():unknown CMD Element\n"); 787 787 return 1; /* This is a command packet. */ 788 788 } 789 789 // 2007/01/22 MH Display received rx command packet info.
+1 -1
drivers/staging/rtl8192e/r819xE_phyreg.h
··· 294 294 #define bR2RCCAMask 0x00000f00 295 295 #define bHSSI_R2TDelay 0xf8000000 296 296 #define bHSSI_T2RDelay 0xf80000 297 - #define bContTxHSSI 0x400 //chane gain at continue Tx 297 + #define bContTxHSSI 0x400 //channel gain at continue Tx 298 298 #define bIGFromCCK 0x200 299 299 #define bAGCAddress 0x3f 300 300 #define bRxHPTx 0x7000
+1 -1
drivers/staging/rtl8192su/ieee80211/ieee80211_module.c
··· 156 156 ieee->privacy_invoked = 0; 157 157 ieee->ieee802_1x = 1; 158 158 ieee->raw_tx = 0; 159 - //ieee->hwsec_support = 1; //defalt support hw security. //use module_param instead. 159 + //ieee->hwsec_support = 1; //default support hw security. //use module_param instead. 160 160 ieee->hwsec_active = 0; //disable hwsec, switch it on when necessary. 161 161 162 162 ieee80211_softmac_init(ieee);
+2 -2
drivers/staging/rtl8192su/ieee80211/ieee80211_softmac.c
··· 2120 2120 * care of the ieee802.11 fragmentation. 2121 2121 * So the driver receives a fragment per time and might 2122 2122 * call the stop function when it want without take care 2123 - * to have enought room to TX an entire packet. 2123 + * to have enough room to TX an entire packet. 2124 2124 * This might be useful if each fragment need it's own 2125 2125 * descriptor, thus just keep a total free memory > than 2126 - * the max fragmentation treshold is not enought.. If the 2126 + * the max fragmentation threshold is not enough.. If the 2127 2127 * ieee802.11 stack passed a TXB struct then you needed 2128 2128 * to keep N free descriptors where 2129 2129 * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
+1 -1
drivers/staging/rtl8192su/ieee80211/readme
··· 37 37 disassociate clients, and it is really prone to always allow access. 38 38 In bss client mode it is a bit rough with AP deauth and disassoc requests. 39 39 - It has not any entry point to view the collected stats. 40 - - Altought it takes care of the card supported rates in the management frame 40 + - Although it takes care of the card supported rates in the management frame 41 41 it sends, support for rate changing on TXed packet is not complete. 42 42 - Give up once associated in bss client mode (it never detect a 43 43 signal loss condition to disassociate and restart scanning)
+2 -2
drivers/staging/rtl8192su/r8192S_phy.c
··· 1728 1728 1729 1729 default: 1730 1730 bResult = FALSE; 1731 - //RT_ASSERT(FALSE, ("phy_SetRFPowerState8192SU(): unknow state to set: 0x%X!!!\n", eRFPowerState)); 1731 + //RT_ASSERT(FALSE, ("phy_SetRFPowerState8192SU(): unknown state to set: 0x%X!!!\n", eRFPowerState)); 1732 1732 break; 1733 1733 } 1734 1734 break; ··· 2711 2711 // However, this procedure is performed synchronously which should be running under 2712 2712 // passive level. 2713 2713 // 2714 - //not understant it 2714 + //not understand it 2715 2715 void PHY_SwChnlPhy8192S( // Only called during initialize 2716 2716 struct net_device* dev, 2717 2717 u8 channel
+1 -1
drivers/staging/rtl8192su/r8192S_phyreg.h
··· 453 453 #define bR2RCCAMask 0x00000f00 454 454 #define bHSSI_R2TDelay 0xf8000000 455 455 #define bHSSI_T2RDelay 0xf80000 456 - #define bContTxHSSI 0x400 //chane gain at continue Tx 456 + #define bContTxHSSI 0x400 //channel gain at continue Tx 457 457 #define bIGFromCCK 0x200 458 458 #define bAGCAddress 0x3f 459 459 #define bRxHPTx 0x7000
+2 -2
drivers/staging/rtl8192su/r8192S_rtl6052.c
··· 326 326 327 327 // 328 328 // If path A and Path B coexist, we must limit Path A tx power. 329 - // Protect Path B pwr over or under flow. We need to calculate upper and 329 + // Protect Path B pwr over or underflow. We need to calculate upper and 330 330 // lower bound of path A tx power. 331 331 // 332 332 if (priv->rf_type == RF_2T2R) ··· 354 354 355 355 // 356 356 // If path A and Path B coexist, we must limit Path A tx power. 357 - // Protect Path B pwr over or under flow. We need to calculate upper and 357 + // Protect Path B pwr under/over flow. We need to calculate upper and 358 358 // lower bound of path A tx power. 359 359 // 360 360 if (priv->rf_type == RF_2T2R)
+5 -5
drivers/staging/rtl8192su/r8192U_dm.c
··· 593 593 0x5a400169, // 3, +3db 594 594 0x50800142, // 4, +2db 595 595 0x47c0011f, // 5, +1db 596 - 0x40000100, // 6, +0db ===> default, upper for higher temprature, lower for low temprature 596 + 0x40000100, // 6, +0db ===> default, upper for higher temperature, lower for low temperature 597 597 0x390000e4, // 7, -1db 598 598 0x32c000cb, // 8, -2db 599 599 0x2d4000b5, // 9, -3db ··· 912 912 RT_TRACE(COMP_POWER_TRACKING, "Readback ThermalMeterA = %d \n", tmpRegA); 913 913 if(tmpRegA < 3 || tmpRegA > 13) 914 914 return; 915 - if(tmpRegA >= 12) // if over 12, TP will be bad when high temprature 915 + if(tmpRegA >= 12) // if over 12, TP will be bad when high temperature 916 916 tmpRegA = 12; 917 917 RT_TRACE(COMP_POWER_TRACKING, "Valid ThermalMeterA = %d \n", tmpRegA); 918 918 priv->ThermalMeter[0] = ThermalMeterVal; //We use fixed value by Bryant's suggestion 919 919 priv->ThermalMeter[1] = ThermalMeterVal; //We use fixed value by Bryant's suggestion 920 920 921 - //Get current RF-A temprature index 922 - if(priv->ThermalMeter[0] >= (u8)tmpRegA) //lower temprature 921 + //Get current RF-A temperature index 922 + if(priv->ThermalMeter[0] >= (u8)tmpRegA) //lower temperature 923 923 { 924 924 tmpOFDMindex = tmpCCK20Mindex = 6+(priv->ThermalMeter[0]-(u8)tmpRegA); 925 925 tmpCCK40Mindex = tmpCCK20Mindex - 6; ··· 933 933 else 934 934 { 935 935 tmpval = ((u8)tmpRegA - priv->ThermalMeter[0]); 936 - if(tmpval >= 6) // higher temprature 936 + if(tmpval >= 6) // higher temperature 937 937 tmpOFDMindex = tmpCCK20Mindex = 0; // max to +6dB 938 938 else 939 939 tmpOFDMindex = tmpCCK20Mindex = 6 - tmpval;
+1 -1
drivers/staging/rtl8192su/r8192U_wx.c
··· 435 435 range->max_qual.updated = 7; /* Updated all three */ 436 436 437 437 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */ 438 - /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 438 + /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ 439 439 range->avg_qual.level = 20 + -98; 440 440 range->avg_qual.noise = 0; 441 441 range->avg_qual.updated = 7; /* Updated all three */
+1 -1
drivers/staging/rtl8192su/r819xU_cmdpkt.c
··· 697 697 698 698 default: 699 699 700 - RT_TRACE(COMP_ERR, "---->cmpk_message_handle_rx():unknow CMD Element\n"); 700 + RT_TRACE(COMP_ERR, "---->cmpk_message_handle_rx():unknown CMD Element\n"); 701 701 return 1; /* This is a command packet. */ 702 702 } 703 703 // 2007/01/22 MH Display received rx command packet info.
+1 -1
drivers/staging/sep/sep_driver.c
··· 2449 2449 #endif 2450 2450 2451 2451 /* 2452 - Function that is activaed on the succesful probe of the SEP device 2452 + Function that is activated on the successful probe of the SEP device 2453 2453 */ 2454 2454 static int __devinit sep_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 2455 2455 {
+1 -1
drivers/staging/serqt_usb2/serqt_usb2.c
··· 929 929 dbg(__FILE__ "qt_setuart completed.\n"); 930 930 931 931 /* 932 - * Put this here to make it responsive to stty and defauls set by 932 + * Put this here to make it responsive to stty and defaults set by 933 933 * the tty layer 934 934 */ 935 935 /* FIXME: is this needed? */
+1 -1
drivers/staging/vt6655/device_main.c
··· 661 661 if(zonetype!=pDevice->abyEEPROM[EEP_OFS_ZONETYPE]) 662 662 printk("zonetype in file[%02x] mismatch with in EEPROM[%02x]\n",zonetype,pDevice->abyEEPROM[EEP_OFS_ZONETYPE]); 663 663 else 664 - printk("Read Zonetype file sucess,use default zonetype setting[%02x]\n",zonetype); 664 + printk("Read Zonetype file success,use default zonetype setting[%02x]\n",zonetype); 665 665 } 666 666 } 667 667 else
+2 -2
drivers/staging/vt6655/ioctl.c
··· 159 159 else if(zonetype == 0x02) { //Europe 160 160 sZoneTypeCmd.ZoneType = ZoneType_Europe; 161 161 } 162 - else { //Unknow ZoneType 162 + else { //Unknown ZoneType 163 163 printk("Error:ZoneType[%x] Unknown ???\n",zonetype); 164 164 result = -EFAULT; 165 165 break; ··· 692 692 wireless_send_event(pDevice->dev, IWEVCUSTOM, &wrqu, pItemSSID->abySSID); 693 693 } 694 694 #endif 695 - pDevice->fWPA_Authened = TRUE; //is sucessful peer to wpa_Result.authenticated? 695 + pDevice->fWPA_Authened = TRUE; //is successful peer to wpa_Result.authenticated? 696 696 } 697 697 698 698 //printk("get private wpa_supplicant announce WPA SM\n");
+2 -2
drivers/staging/vt6655/mib.h
··· 325 325 #ifdef Calcu_LinkQual 326 326 //Tx count: 327 327 ULONG TxNoRetryOkCount; //success tx no retry ! 328 - ULONG TxRetryOkCount; //sucess tx but retry ! 328 + ULONG TxRetryOkCount; //success tx but retry ! 329 329 ULONG TxFailCount; //fail tx ? 330 330 //Rx count: 331 - ULONG RxOkCnt; //sucess rx ! 331 + ULONG RxOkCnt; //success rx ! 332 332 ULONG RxFcsErrCnt; //fail rx ? 333 333 //statistic 334 334 ULONG SignalStren;
+1 -1
drivers/staging/vt6656/baseband.c
··· 1040 1040 if(pDevice->config_file.ZoneType !=pDevice->abyEEPROM[EEP_OFS_ZONETYPE]) 1041 1041 printk("zonetype in file[%02x] mismatch with in EEPROM[%02x]\n",pDevice->config_file.ZoneType,pDevice->abyEEPROM[EEP_OFS_ZONETYPE]); 1042 1042 else 1043 - printk("Read Zonetype file sucess,use default zonetype setting[%02x]\n",pDevice->config_file.ZoneType); 1043 + printk("Read Zonetype file success,use default zonetype setting[%02x]\n",pDevice->config_file.ZoneType); 1044 1044 } 1045 1045 } 1046 1046
+1 -1
drivers/staging/vt6656/channel.c
··· 19 19 * 20 20 * File: channel.c 21 21 * 22 - * Purpose: Channel number maping 22 + * Purpose: Channel number mapping 23 23 * 24 24 * Author: Lucas Lin 25 25 *
+2 -2
drivers/staging/vt6656/ioctl.c
··· 152 152 else if(zonetype == 0x02) { //Europe 153 153 sZoneTypeCmd.ZoneType = ZoneType_Europe; 154 154 } 155 - else { //Unknow ZoneType 155 + else { //Unknown ZoneType 156 156 printk("Error:ZoneType[%x] Unknown ???\n",zonetype); 157 157 result = -EFAULT; 158 158 break; ··· 679 679 wireless_send_event(pDevice->dev, IWEVCUSTOM, &wrqu, pItemSSID->abySSID); 680 680 } 681 681 #endif 682 - pDevice->fWPA_Authened = TRUE; //is sucessful peer to wpa_Result.authenticated? 682 + pDevice->fWPA_Authened = TRUE; //is successful peer to wpa_Result.authenticated? 683 683 } 684 684 685 685 //printk("get private wpa_supplicant announce WPA SM\n");
+1 -1
drivers/staging/vt6656/iwctl.c
··· 1724 1724 case IW_AUTH_WPA_ENABLED: 1725 1725 //pDevice->bWPADEVUp = !! wrq->value; 1726 1726 //if(pDevice->bWPADEVUp==TRUE) 1727 - // printk("iwctl_siwauth:set WPADEV to enable sucessful*******\n"); 1727 + // printk("iwctl_siwauth:set WPADEV to enable successful*******\n"); 1728 1728 //else 1729 1729 // printk("iwctl_siwauth:set WPADEV to enable fail?????\n"); 1730 1730 break;
+1 -1
drivers/staging/vt6656/main_usb.c
··· 1537 1537 return buffer; 1538 1538 } 1539 1539 1540 - //return --->-1:fail; >=0:sucessful 1540 + //return --->-1:fail; >=0:successful 1541 1541 static int Read_config_file(PSDevice pDevice) { 1542 1542 int result=0; 1543 1543 UCHAR tmpbuffer[100];
+2 -2
drivers/staging/vt6656/mib.h
··· 357 357 #ifdef Calcu_LinkQual 358 358 //Tx count: 359 359 ULONG TxNoRetryOkCount; //success tx no retry ! 360 - ULONG TxRetryOkCount; //sucess tx but retry ! 360 + ULONG TxRetryOkCount; //success tx but retry ! 361 361 ULONG TxFailCount; //fail tx ? 362 362 //Rx count: 363 - ULONG RxOkCnt; //sucess rx ! 363 + ULONG RxOkCnt; //success rx ! 364 364 ULONG RxFcsErrCnt; //fail rx ? 365 365 //statistic 366 366 ULONG SignalStren;
+1 -1
drivers/staging/vt6656/wcmd.c
··· 1331 1331 } 1332 1332 1333 1333 spin_lock_irq(&pDevice->lock); 1334 - //is wap_supplicant running sucessful OR only open && sharekey mode! 1334 + //is wap_supplicant running successful OR only open && sharekey mode! 1335 1335 #if 1 1336 1336 if(((pDevice->bLinkPass ==TRUE)&&(pMgmt->eAuthenMode < WMAC_AUTH_WPA)) || //open && sharekey linking 1337 1337 (pDevice->fWPA_Authened == TRUE)) { //wpa linking