aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/atlx/atl1.c5
-rw-r--r--drivers/net/can/pch_can.c2
-rw-r--r--drivers/net/can/softing/softing_main.c2
-rw-r--r--drivers/net/irda/ali-ircc.c2
-rw-r--r--drivers/net/macb.c2
-rw-r--r--drivers/net/s2io.c2
-rw-r--r--drivers/net/sgiseeq.c2
-rw-r--r--drivers/net/sgiseeq.h2
-rw-r--r--drivers/net/ucc_geth_ethtool.c2
-rw-r--r--drivers/net/usb/usbnet.c2
-rw-r--r--drivers/net/wan/pc300_drv.c2
-rw-r--r--drivers/net/wireless/airo.c27
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_eeprom.c8
-rw-r--r--drivers/net/wireless/b43/b43.h4
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.c2
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-4965-calib.c4
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-calib.c4
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c2
-rw-r--r--drivers/net/wireless/rtlwifi/core.c2
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192ce/hw.c4
20 files changed, 42 insertions, 40 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c
index c5298d1ab744..cd5789ff3726 100644
--- a/drivers/net/atlx/atl1.c
+++ b/drivers/net/atlx/atl1.c
@@ -83,8 +83,9 @@
83#include "atl1.h" 83#include "atl1.h"
84 84
85#define ATLX_DRIVER_VERSION "2.1.3" 85#define ATLX_DRIVER_VERSION "2.1.3"
86MODULE_AUTHOR("Xiong Huang <xiong.huang@atheros.com>, \ 86MODULE_AUTHOR("Xiong Huang <xiong.huang@atheros.com>, "
87Chris Snook <csnook@redhat.com>, Jay Cliburn <jcliburn@gmail.com>"); 87 "Chris Snook <csnook@redhat.com>, "
88 "Jay Cliburn <jcliburn@gmail.com>");
88MODULE_LICENSE("GPL"); 89MODULE_LICENSE("GPL");
89MODULE_VERSION(ATLX_DRIVER_VERSION); 90MODULE_VERSION(ATLX_DRIVER_VERSION);
90 91
diff --git a/drivers/net/can/pch_can.c b/drivers/net/can/pch_can.c
index e54712b22c27..d11fbb2b95ff 100644
--- a/drivers/net/can/pch_can.c
+++ b/drivers/net/can/pch_can.c
@@ -653,7 +653,7 @@ static int pch_can_rx_normal(struct net_device *ndev, u32 obj_num, int quota)
653 u16 data_reg; 653 u16 data_reg;
654 654
655 do { 655 do {
656 /* Reading the messsage object from the Message RAM */ 656 /* Reading the message object from the Message RAM */
657 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[0].cmask); 657 iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[0].cmask);
658 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, obj_num); 658 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, obj_num);
659 659
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c
index 7a70709d5608..60a49e5a2a53 100644
--- a/drivers/net/can/softing/softing_main.c
+++ b/drivers/net/can/softing/softing_main.c
@@ -797,7 +797,7 @@ static __devinit int softing_pdev_probe(struct platform_device *pdev)
797 ret = -EINVAL; 797 ret = -EINVAL;
798 pres = platform_get_resource(pdev, IORESOURCE_MEM, 0); 798 pres = platform_get_resource(pdev, IORESOURCE_MEM, 0);
799 if (!pres) 799 if (!pres)
800 goto platform_resource_failed;; 800 goto platform_resource_failed;
801 card->dpram_phys = pres->start; 801 card->dpram_phys = pres->start;
802 card->dpram_size = pres->end - pres->start + 1; 802 card->dpram_size = pres->end - pres->start + 1;
803 card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size); 803 card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size);
diff --git a/drivers/net/irda/ali-ircc.c b/drivers/net/irda/ali-ircc.c
index 872183f29ec4..d532dde5120f 100644
--- a/drivers/net/irda/ali-ircc.c
+++ b/drivers/net/irda/ali-ircc.c
@@ -1800,7 +1800,7 @@ static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self)
1800 MessageCount = inb(iobase+ FIR_LSR)&0x07; 1800 MessageCount = inb(iobase+ FIR_LSR)&0x07;
1801 1801
1802 if (MessageCount > 0) 1802 if (MessageCount > 0)
1803 IRDA_DEBUG(0, "%s(), Messsage count = %d,\n", __func__ , MessageCount); 1803 IRDA_DEBUG(0, "%s(), Message count = %d,\n", __func__ , MessageCount);
1804 1804
1805 for (i=0; i<=MessageCount; i++) 1805 for (i=0; i<=MessageCount; i++)
1806 { 1806 {
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 629bd2649c0c..6c6a02869dfc 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -1356,5 +1356,5 @@ module_exit(macb_exit);
1356 1356
1357MODULE_LICENSE("GPL"); 1357MODULE_LICENSE("GPL");
1358MODULE_DESCRIPTION("Atmel MACB Ethernet driver"); 1358MODULE_DESCRIPTION("Atmel MACB Ethernet driver");
1359MODULE_AUTHOR("Haavard Skinnemoen <hskinnemoen@atmel.com>"); 1359MODULE_AUTHOR("Haavard Skinnemoen (Atmel)");
1360MODULE_ALIAS("platform:macb"); 1360MODULE_ALIAS("platform:macb");
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index a9a5f5ed19c6..df0d2c8ecc09 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -7163,7 +7163,7 @@ static void do_s2io_card_down(struct s2io_nic *sp, int do_io)
7163 /* As per the HW requirement we need to replenish the 7163 /* As per the HW requirement we need to replenish the
7164 * receive buffer to avoid the ring bump. Since there is 7164 * receive buffer to avoid the ring bump. Since there is
7165 * no intention of processing the Rx frame at this pointwe are 7165 * no intention of processing the Rx frame at this pointwe are
7166 * just settting the ownership bit of rxd in Each Rx 7166 * just setting the ownership bit of rxd in Each Rx
7167 * ring to HW and set the appropriate buffer size 7167 * ring to HW and set the appropriate buffer size
7168 * based on the ring mode 7168 * based on the ring mode
7169 */ 7169 */
diff --git a/drivers/net/sgiseeq.c b/drivers/net/sgiseeq.c
index dd03bf619988..54415c7b84a2 100644
--- a/drivers/net/sgiseeq.c
+++ b/drivers/net/sgiseeq.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * sgiseeq.c: Seeq8003 ethernet driver for SGI machines. 2 * sgiseeq.c: Seeq8003 ethernet driver for SGI machines.
3 * 3 *
4 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) 4 * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
5 */ 5 */
6 6
7#undef DEBUG 7#undef DEBUG
diff --git a/drivers/net/sgiseeq.h b/drivers/net/sgiseeq.h
index 523104de6830..2211e2987a8d 100644
--- a/drivers/net/sgiseeq.h
+++ b/drivers/net/sgiseeq.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * sgiseeq.h: Defines for the Seeq8003 ethernet controller. 2 * sgiseeq.h: Defines for the Seeq8003 ethernet controller.
3 * 3 *
4 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) 4 * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
5 */ 5 */
6#ifndef _SGISEEQ_H 6#ifndef _SGISEEQ_H
7#define _SGISEEQ_H 7#define _SGISEEQ_H
diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
index 537fbc0a4401..a97257f91a3d 100644
--- a/drivers/net/ucc_geth_ethtool.c
+++ b/drivers/net/ucc_geth_ethtool.c
@@ -6,7 +6,7 @@
6 * Author: Li Yang <leoli@freescale.com> 6 * Author: Li Yang <leoli@freescale.com>
7 * 7 *
8 * Limitation: 8 * Limitation:
9 * Can only get/set setttings of the first queue. 9 * Can only get/set settings of the first queue.
10 * Need to re-open the interface manually after changing some parameters. 10 * Need to re-open the interface manually after changing some parameters.
11 * 11 *
12 * This program is free software; you can redistribute it and/or modify it 12 * This program is free software; you can redistribute it and/or modify it
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index e6dd24466965..ce395fe5de26 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -109,7 +109,7 @@ int usbnet_get_endpoints(struct usbnet *dev, struct usb_interface *intf)
109 109
110 /* take the first altsetting with in-bulk + out-bulk; 110 /* take the first altsetting with in-bulk + out-bulk;
111 * remember any status endpoint, just in case; 111 * remember any status endpoint, just in case;
112 * ignore other endpoints and altsetttings. 112 * ignore other endpoints and altsettings.
113 */ 113 */
114 for (ep = 0; ep < alt->desc.bNumEndpoints; ep++) { 114 for (ep = 0; ep < alt->desc.bNumEndpoints; ep++) {
115 struct usb_host_endpoint *e; 115 struct usb_host_endpoint *e;
diff --git a/drivers/net/wan/pc300_drv.c b/drivers/net/wan/pc300_drv.c
index f875cfae3093..737b59f1a8dc 100644
--- a/drivers/net/wan/pc300_drv.c
+++ b/drivers/net/wan/pc300_drv.c
@@ -1445,7 +1445,7 @@ static void falc_update_stats(pc300_t * card, int ch)
1445 * Description: In the remote loopback mode the clock and data recovered 1445 * Description: In the remote loopback mode the clock and data recovered
1446 * from the line inputs RL1/2 or RDIP/RDIN are routed back 1446 * from the line inputs RL1/2 or RDIP/RDIN are routed back
1447 * to the line outputs XL1/2 or XDOP/XDON via the analog 1447 * to the line outputs XL1/2 or XDOP/XDON via the analog
1448 * transmitter. As in normal mode they are processsed by 1448 * transmitter. As in normal mode they are processed by
1449 * the synchronizer and then sent to the system interface. 1449 * the synchronizer and then sent to the system interface.
1450 *---------------------------------------------------------------------------- 1450 *----------------------------------------------------------------------------
1451 */ 1451 */
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c
index 4e5c7a11f04a..a70c512f05d2 100644
--- a/drivers/net/wireless/airo.c
+++ b/drivers/net/wireless/airo.c
@@ -242,9 +242,8 @@ static int airo_perm = 0555;
242static int proc_perm = 0644; 242static int proc_perm = 0644;
243 243
244MODULE_AUTHOR("Benjamin Reed"); 244MODULE_AUTHOR("Benjamin Reed");
245MODULE_DESCRIPTION("Support for Cisco/Aironet 802.11 wireless ethernet \ 245MODULE_DESCRIPTION("Support for Cisco/Aironet 802.11 wireless ethernet cards. "
246cards. Direct support for ISA/PCI/MPI cards and support \ 246 "Direct support for ISA/PCI/MPI cards and support for PCMCIA when used with airo_cs.");
247for PCMCIA when used with airo_cs.");
248MODULE_LICENSE("Dual BSD/GPL"); 247MODULE_LICENSE("Dual BSD/GPL");
249MODULE_SUPPORTED_DEVICE("Aironet 4500, 4800 and Cisco 340/350"); 248MODULE_SUPPORTED_DEVICE("Aironet 4500, 4800 and Cisco 340/350");
250module_param_array(io, int, NULL, 0); 249module_param_array(io, int, NULL, 0);
@@ -252,18 +251,20 @@ module_param_array(irq, int, NULL, 0);
252module_param_array(rates, int, NULL, 0); 251module_param_array(rates, int, NULL, 0);
253module_param_array(ssids, charp, NULL, 0); 252module_param_array(ssids, charp, NULL, 0);
254module_param(auto_wep, int, 0); 253module_param(auto_wep, int, 0);
255MODULE_PARM_DESC(auto_wep, "If non-zero, the driver will keep looping through \ 254MODULE_PARM_DESC(auto_wep,
256the authentication options until an association is made. The value of \ 255 "If non-zero, the driver will keep looping through the authentication options until an association is made. "
257auto_wep is number of the wep keys to check. A value of 2 will try using \ 256 "The value of auto_wep is number of the wep keys to check. "
258the key at index 0 and index 1."); 257 "A value of 2 will try using the key at index 0 and index 1.");
259module_param(aux_bap, int, 0); 258module_param(aux_bap, int, 0);
260MODULE_PARM_DESC(aux_bap, "If non-zero, the driver will switch into a mode \ 259MODULE_PARM_DESC(aux_bap,
261than seems to work better for older cards with some older buses. Before \ 260 "If non-zero, the driver will switch into a mode that seems to work better for older cards with some older buses. "
262switching it checks that the switch is needed."); 261 "Before switching it checks that the switch is needed.");
263module_param(maxencrypt, int, 0); 262module_param(maxencrypt, int, 0);
264MODULE_PARM_DESC(maxencrypt, "The maximum speed that the card can do \ 263MODULE_PARM_DESC(maxencrypt,
265encryption. Units are in 512kbs. Zero (default) means there is no limit. \ 264 "The maximum speed that the card can do encryption. "
266Older cards used to be limited to 2mbs (4)."); 265 "Units are in 512kbs. "
266 "Zero (default) means there is no limit. "
267 "Older cards used to be limited to 2mbs (4).");
267module_param(adhoc, int, 0); 268module_param(adhoc, int, 0);
268MODULE_PARM_DESC(adhoc, "If non-zero, the card will start in adhoc mode."); 269MODULE_PARM_DESC(adhoc, "If non-zero, the card will start in adhoc mode.");
269module_param(probe, int, 0); 270module_param(probe, int, 0);
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
index 1e220354e4be..d985841ff401 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -3327,26 +3327,26 @@ static int ar9300_eeprom_restore_internal(struct ath_hw *ah,
3327 else 3327 else
3328 cptr = AR9300_BASE_ADDR; 3328 cptr = AR9300_BASE_ADDR;
3329 ath_dbg(common, ATH_DBG_EEPROM, 3329 ath_dbg(common, ATH_DBG_EEPROM,
3330 "Trying EEPROM accesss at Address 0x%04x\n", cptr); 3330 "Trying EEPROM access at Address 0x%04x\n", cptr);
3331 if (ar9300_check_eeprom_header(ah, read, cptr)) 3331 if (ar9300_check_eeprom_header(ah, read, cptr))
3332 goto found; 3332 goto found;
3333 3333
3334 cptr = AR9300_BASE_ADDR_512; 3334 cptr = AR9300_BASE_ADDR_512;
3335 ath_dbg(common, ATH_DBG_EEPROM, 3335 ath_dbg(common, ATH_DBG_EEPROM,
3336 "Trying EEPROM accesss at Address 0x%04x\n", cptr); 3336 "Trying EEPROM access at Address 0x%04x\n", cptr);
3337 if (ar9300_check_eeprom_header(ah, read, cptr)) 3337 if (ar9300_check_eeprom_header(ah, read, cptr))
3338 goto found; 3338 goto found;
3339 3339
3340 read = ar9300_read_otp; 3340 read = ar9300_read_otp;
3341 cptr = AR9300_BASE_ADDR; 3341 cptr = AR9300_BASE_ADDR;
3342 ath_dbg(common, ATH_DBG_EEPROM, 3342 ath_dbg(common, ATH_DBG_EEPROM,
3343 "Trying OTP accesss at Address 0x%04x\n", cptr); 3343 "Trying OTP access at Address 0x%04x\n", cptr);
3344 if (ar9300_check_eeprom_header(ah, read, cptr)) 3344 if (ar9300_check_eeprom_header(ah, read, cptr))
3345 goto found; 3345 goto found;
3346 3346
3347 cptr = AR9300_BASE_ADDR_512; 3347 cptr = AR9300_BASE_ADDR_512;
3348 ath_dbg(common, ATH_DBG_EEPROM, 3348 ath_dbg(common, ATH_DBG_EEPROM,
3349 "Trying OTP accesss at Address 0x%04x\n", cptr); 3349 "Trying OTP access at Address 0x%04x\n", cptr);
3350 if (ar9300_check_eeprom_header(ah, read, cptr)) 3350 if (ar9300_check_eeprom_header(ah, read, cptr))
3351 goto found; 3351 goto found;
3352 3352
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h
index 229f4388f790..ebc93c1bb5e7 100644
--- a/drivers/net/wireless/b43/b43.h
+++ b/drivers/net/wireless/b43/b43.h
@@ -648,8 +648,8 @@ struct b43_request_fw_context {
648 char errors[B43_NR_FWTYPES][128]; 648 char errors[B43_NR_FWTYPES][128];
649 /* Temporary buffer for storing the firmware name. */ 649 /* Temporary buffer for storing the firmware name. */
650 char fwname[64]; 650 char fwname[64];
651 /* A fatal error occurred while requesting. Firmware reqest 651 /* A fatal error occurred while requesting. Firmware request
652 * can not continue, as any other reqest will also fail. */ 652 * can not continue, as any other request will also fail. */
653 int fatal_failure; 653 int fatal_failure;
654}; 654};
655 655
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index 42c3fe37af64..87813c33bdc2 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -7430,7 +7430,7 @@ static int ipw_associate_network(struct ipw_priv *priv,
7430 priv->assoc_request.capability &= 7430 priv->assoc_request.capability &=
7431 ~cpu_to_le16(WLAN_CAPABILITY_SHORT_SLOT_TIME); 7431 ~cpu_to_le16(WLAN_CAPABILITY_SHORT_SLOT_TIME);
7432 7432
7433 IPW_DEBUG_ASSOC("%sssocation attempt: '%s', channel %d, " 7433 IPW_DEBUG_ASSOC("%ssociation attempt: '%s', channel %d, "
7434 "802.11%c [%d], %s[:%s], enc=%s%s%s%c%c\n", 7434 "802.11%c [%d], %s[:%s], enc=%s%s%s%c%c\n",
7435 roaming ? "Rea" : "A", 7435 roaming ? "Rea" : "A",
7436 print_ssid(ssid, priv->essid, priv->essid_len), 7436 print_ssid(ssid, priv->essid, priv->essid_len),
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965-calib.c b/drivers/net/wireless/iwlegacy/iwl-4965-calib.c
index 81d6a25eb04f..162d877e6869 100644
--- a/drivers/net/wireless/iwlegacy/iwl-4965-calib.c
+++ b/drivers/net/wireless/iwlegacy/iwl-4965-calib.c
@@ -713,8 +713,8 @@ iwl4965_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig,
713 iwl4965_find_first_chain(priv->cfg->valid_tx_ant); 713 iwl4965_find_first_chain(priv->cfg->valid_tx_ant);
714 data->disconn_array[first_chain] = 0; 714 data->disconn_array[first_chain] = 0;
715 active_chains |= BIT(first_chain); 715 active_chains |= BIT(first_chain);
716 IWL_DEBUG_CALIB(priv, "All Tx chains are disconnected \ 716 IWL_DEBUG_CALIB(priv,
717 W/A - declare %d as connected\n", 717 "All Tx chains are disconnected W/A - declare %d as connected\n",
718 first_chain); 718 first_chain);
719 break; 719 break;
720 } 720 }
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-calib.c b/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
index 0f6bb9b2e642..39d1e47a0978 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
@@ -817,8 +817,8 @@ static void iwl_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig,
817 find_first_chain(priv->cfg->valid_tx_ant); 817 find_first_chain(priv->cfg->valid_tx_ant);
818 data->disconn_array[first_chain] = 0; 818 data->disconn_array[first_chain] = 0;
819 active_chains |= BIT(first_chain); 819 active_chains |= BIT(first_chain);
820 IWL_DEBUG_CALIB(priv, "All Tx chains are disconnected \ 820 IWL_DEBUG_CALIB(priv,
821 W/A - declare %d as connected\n", 821 "All Tx chains are disconnected W/A - declare %d as connected\n",
822 first_chain); 822 first_chain);
823 break; 823 break;
824 } 824 }
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 3ecc3198d9bf..08e3cae4fa5a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1766,7 +1766,7 @@ static const char *desc_lookup(u32 num)
1766 max = ARRAY_SIZE(advanced_lookup) - 1; 1766 max = ARRAY_SIZE(advanced_lookup) - 1;
1767 for (i = 0; i < max; i++) { 1767 for (i = 0; i < max; i++) {
1768 if (advanced_lookup[i].num == num) 1768 if (advanced_lookup[i].num == num)
1769 break;; 1769 break;
1770 } 1770 }
1771 return advanced_lookup[i].name; 1771 return advanced_lookup[i].name;
1772} 1772}
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c
index fc89cd8c8320..d2ec2535aa3c 100644
--- a/drivers/net/wireless/rtlwifi/core.c
+++ b/drivers/net/wireless/rtlwifi/core.c
@@ -783,7 +783,7 @@ static void rtl_op_set_tsf(struct ieee80211_hw *hw, u64 tsf)
783{ 783{
784 struct rtl_priv *rtlpriv = rtl_priv(hw); 784 struct rtl_priv *rtlpriv = rtl_priv(hw);
785 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); 785 struct rtl_mac *mac = rtl_mac(rtl_priv(hw));
786 u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0;; 786 u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0;
787 787
788 mac->tsf = tsf; 788 mac->tsf = tsf;
789 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_CORRECT_TSF, (u8 *) (&bibss)); 789 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_CORRECT_TSF, (u8 *) (&bibss));
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
index 4a56138eb33c..defb4370cf74 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
@@ -697,7 +697,7 @@ static bool _rtl92ce_init_mac(struct ieee80211_hw *hw)
697 rtl_write_word(rtlpriv, REG_CR, 0x2ff); 697 rtl_write_word(rtlpriv, REG_CR, 0x2ff);
698 698
699 if (_rtl92ce_llt_table_init(hw) == false) 699 if (_rtl92ce_llt_table_init(hw) == false)
700 return false;; 700 return false;
701 701
702 rtl_write_dword(rtlpriv, REG_HISR, 0xffffffff); 702 rtl_write_dword(rtlpriv, REG_HISR, 0xffffffff);
703 rtl_write_byte(rtlpriv, REG_HISRE, 0xff); 703 rtl_write_byte(rtlpriv, REG_HISRE, 0xff);
@@ -754,7 +754,7 @@ static bool _rtl92ce_init_mac(struct ieee80211_hw *hw)
754 754
755 rtl_write_dword(rtlpriv, REG_MCUTST_1, 0x0); 755 rtl_write_dword(rtlpriv, REG_MCUTST_1, 0x0);
756 756
757 return true;; 757 return true;
758} 758}
759 759
760static void _rtl92ce_hw_configure(struct ieee80211_hw *hw) 760static void _rtl92ce_hw_configure(struct ieee80211_hw *hw)