aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath5k/phy.c6
-rw-r--r--drivers/net/wireless/ath/ath9k/rc.c2
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2100.c6
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.c8
-rw-r--r--drivers/net/wireless/ipw2x00/libipw_module.c2
-rw-r--r--drivers/net/wireless/iwmc3200wifi/hal.c2
-rw-r--r--drivers/net/wireless/iwmc3200wifi/rx.c2
-rw-r--r--drivers/net/wireless/libertas/if_sdio.c2
-rw-r--r--drivers/net/wireless/prism54/isl_ioctl.c4
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.h2
-rw-r--r--drivers/net/wireless/wavelan_cs.c2
-rw-r--r--drivers/net/wireless/zd1211rw/zd_mac.c2
16 files changed, 24 insertions, 24 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c
index 1a039f2bd732..6f04cc758dcc 100644
--- a/drivers/net/wireless/ath/ath5k/phy.c
+++ b/drivers/net/wireless/ath/ath5k/phy.c
@@ -117,7 +117,7 @@ static unsigned int ath5k_hw_rfb_op(struct ath5k_hw *ah,
117 117
118/* 118/*
119 * This code is used to optimize rf gain on different environments 119 * This code is used to optimize rf gain on different environments
120 * (temprature mostly) based on feedback from a power detector. 120 * (temperature mostly) based on feedback from a power detector.
121 * 121 *
122 * It's only used on RF5111 and RF5112, later RF chips seem to have 122 * It's only used on RF5111 and RF5112, later RF chips seem to have
123 * auto adjustment on hw -notice they have a much smaller BANK 7 and 123 * auto adjustment on hw -notice they have a much smaller BANK 7 and
@@ -2675,7 +2675,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah,
2675 /* Fill curves in reverse order 2675 /* Fill curves in reverse order
2676 * from lower power (max gain) 2676 * from lower power (max gain)
2677 * to higher power. Use curve -> idx 2677 * to higher power. Use curve -> idx
2678 * backmaping we did on eeprom init */ 2678 * backmapping we did on eeprom init */
2679 u8 idx = pdg_curve_to_idx[pdg]; 2679 u8 idx = pdg_curve_to_idx[pdg];
2680 2680
2681 /* Grab the needed curves by index */ 2681 /* Grab the needed curves by index */
@@ -2777,7 +2777,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah,
2777 /* Now we have a set of curves for this 2777 /* Now we have a set of curves for this
2778 * channel on tmpL (x range is table_max - table_min 2778 * channel on tmpL (x range is table_max - table_min
2779 * and y values are tmpL[pdg][]) sorted in the same 2779 * and y values are tmpL[pdg][]) sorted in the same
2780 * order as EEPROM (because we've used the backmaping). 2780 * order as EEPROM (because we've used the backmapping).
2781 * So for RF5112 it's from higher power to lower power 2781 * So for RF5112 it's from higher power to lower power
2782 * and for RF2413 it's from lower power to higher power. 2782 * and for RF2413 it's from lower power to higher power.
2783 * For RF5111 we only have one curve. */ 2783 * For RF5111 we only have one curve. */
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c
index 1895d63aad0a..0a35ee62a02a 100644
--- a/drivers/net/wireless/ath/ath9k/rc.c
+++ b/drivers/net/wireless/ath/ath9k/rc.c
@@ -969,7 +969,7 @@ static bool ath_rc_update_per(struct ath_softc *sc,
969 * Since this probe succeeded, we allow the next 969 * Since this probe succeeded, we allow the next
970 * probe twice as soon. This allows the maxRate 970 * probe twice as soon. This allows the maxRate
971 * to move up faster if the probes are 971 * to move up faster if the probes are
972 * succesful. 972 * successful.
973 */ 973 */
974 ath_rc_priv->probe_time = 974 ath_rc_priv->probe_time =
975 now_msec - rate_table->probe_interval / 2; 975 now_msec - rate_table->probe_interval / 2;
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c
index a741d37fd96f..e1b330023200 100644
--- a/drivers/net/wireless/ipw2x00/ipw2100.c
+++ b/drivers/net/wireless/ipw2x00/ipw2100.c
@@ -551,7 +551,7 @@ static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord,
551 /* get number of entries */ 551 /* get number of entries */
552 field_count = *(((u16 *) & field_info) + 1); 552 field_count = *(((u16 *) & field_info) + 1);
553 553
554 /* abort if no enought memory */ 554 /* abort if no enough memory */
555 total_length = field_len * field_count; 555 total_length = field_len * field_count;
556 if (total_length > *len) { 556 if (total_length > *len) {
557 *len = total_length; 557 *len = total_length;
@@ -3044,7 +3044,7 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv)
3044 IPW_MAX_BDS)) { 3044 IPW_MAX_BDS)) {
3045 /* TODO: Support merging buffers if more than 3045 /* TODO: Support merging buffers if more than
3046 * IPW_MAX_BDS are used */ 3046 * IPW_MAX_BDS are used */
3047 IPW_DEBUG_INFO("%s: Maximum BD theshold exceeded. " 3047 IPW_DEBUG_INFO("%s: Maximum BD threshold exceeded. "
3048 "Increase fragmentation level.\n", 3048 "Increase fragmentation level.\n",
3049 priv->net_dev->name); 3049 priv->net_dev->name);
3050 } 3050 }
@@ -6823,7 +6823,7 @@ static int ipw2100_wx_get_range(struct net_device *dev,
6823 range->max_qual.updated = 7; /* Updated all three */ 6823 range->max_qual.updated = 7; /* Updated all three */
6824 6824
6825 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ 6825 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */
6826 /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 6826 /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
6827 range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; 6827 range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM;
6828 range->avg_qual.noise = 0; 6828 range->avg_qual.noise = 0;
6829 range->avg_qual.updated = 7; /* Updated all three */ 6829 range->avg_qual.updated = 7; /* Updated all three */
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index 9b0f2c0646e0..b2aa960b8346 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -787,7 +787,7 @@ static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len)
787 /* get number of entries */ 787 /* get number of entries */
788 field_count = *(((u16 *) & field_info) + 1); 788 field_count = *(((u16 *) & field_info) + 1);
789 789
790 /* abort if not enought memory */ 790 /* abort if not enough memory */
791 total_len = field_len * field_count; 791 total_len = field_len * field_count;
792 if (total_len > *len) { 792 if (total_len > *len) {
793 *len = total_len; 793 *len = total_len;
@@ -7751,7 +7751,7 @@ static void ipw_rebuild_decrypted_skb(struct ipw_priv *priv,
7751 case SEC_LEVEL_0: 7751 case SEC_LEVEL_0:
7752 break; 7752 break;
7753 default: 7753 default:
7754 printk(KERN_ERR "Unknow security level %d\n", 7754 printk(KERN_ERR "Unknown security level %d\n",
7755 priv->ieee->sec.level); 7755 priv->ieee->sec.level);
7756 break; 7756 break;
7757 } 7757 }
@@ -8917,7 +8917,7 @@ static int ipw_wx_get_range(struct net_device *dev,
8917 range->max_qual.updated = 7; /* Updated all three */ 8917 range->max_qual.updated = 7; /* Updated all three */
8918 8918
8919 range->avg_qual.qual = 70; 8919 range->avg_qual.qual = 70;
8920 /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 8920 /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
8921 range->avg_qual.level = 0; /* FIXME to real average level */ 8921 range->avg_qual.level = 0; /* FIXME to real average level */
8922 range->avg_qual.noise = 0; 8922 range->avg_qual.noise = 0;
8923 range->avg_qual.updated = 7; /* Updated all three */ 8923 range->avg_qual.updated = 7; /* Updated all three */
@@ -10290,7 +10290,7 @@ static int ipw_tx_skb(struct ipw_priv *priv, struct libipw_txb *txb,
10290 case SEC_LEVEL_0: 10290 case SEC_LEVEL_0:
10291 break; 10291 break;
10292 default: 10292 default:
10293 printk(KERN_ERR "Unknow security level %d\n", 10293 printk(KERN_ERR "Unknown security level %d\n",
10294 priv->ieee->sec.level); 10294 priv->ieee->sec.level);
10295 break; 10295 break;
10296 } 10296 }
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c
index be5b809ec97a..20b8a8a20644 100644
--- a/drivers/net/wireless/ipw2x00/libipw_module.c
+++ b/drivers/net/wireless/ipw2x00/libipw_module.c
@@ -199,7 +199,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv, int monitor)
199 ieee->host_decrypt = 1; 199 ieee->host_decrypt = 1;
200 ieee->host_mc_decrypt = 1; 200 ieee->host_mc_decrypt = 1;
201 201
202 /* Host fragementation in Open mode. Default is enabled. 202 /* Host fragmentation in Open mode. Default is enabled.
203 * Note: host fragmentation is always enabled if host encryption 203 * Note: host fragmentation is always enabled if host encryption
204 * is enabled. For cards can do hardware encryption, they must do 204 * is enabled. For cards can do hardware encryption, they must do
205 * hardware fragmentation as well. So we don't need a variable 205 * hardware fragmentation as well. So we don't need a variable
diff --git a/drivers/net/wireless/iwmc3200wifi/hal.c b/drivers/net/wireless/iwmc3200wifi/hal.c
index c430418248b4..d13c8853ee82 100644
--- a/drivers/net/wireless/iwmc3200wifi/hal.c
+++ b/drivers/net/wireless/iwmc3200wifi/hal.c
@@ -411,7 +411,7 @@ static void iwm_build_lmac_hdr(struct iwm_priv *iwm, struct iwm_lmac_hdr *hdr,
411/* 411/*
412 * iwm_hal_send_host_cmd(): sends commands to the UMAC or the LMAC. 412 * iwm_hal_send_host_cmd(): sends commands to the UMAC or the LMAC.
413 * Sending command to the LMAC is equivalent to sending a 413 * Sending command to the LMAC is equivalent to sending a
414 * regular UMAC command with the LMAC passtrough or the LMAC 414 * regular UMAC command with the LMAC passthrough or the LMAC
415 * wrapper UMAC command IDs. 415 * wrapper UMAC command IDs.
416 */ 416 */
417int iwm_hal_send_host_cmd(struct iwm_priv *iwm, 417int iwm_hal_send_host_cmd(struct iwm_priv *iwm,
diff --git a/drivers/net/wireless/iwmc3200wifi/rx.c b/drivers/net/wireless/iwmc3200wifi/rx.c
index 771a301003c9..8ddb51a2a977 100644
--- a/drivers/net/wireless/iwmc3200wifi/rx.c
+++ b/drivers/net/wireless/iwmc3200wifi/rx.c
@@ -1448,7 +1448,7 @@ static void iwm_rx_process_packet(struct iwm_priv *iwm,
1448 kfree_skb(packet->skb); 1448 kfree_skb(packet->skb);
1449 break; 1449 break;
1450 default: 1450 default:
1451 IWM_ERR(iwm, "Unknow ticket action: %d\n", 1451 IWM_ERR(iwm, "Unknown ticket action: %d\n",
1452 le16_to_cpu(ticket_node->ticket->action)); 1452 le16_to_cpu(ticket_node->ticket->action));
1453 kfree_skb(packet->skb); 1453 kfree_skb(packet->skb);
1454 } 1454 }
diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c
index 485a8d406525..afe6abecc044 100644
--- a/drivers/net/wireless/libertas/if_sdio.c
+++ b/drivers/net/wireless/libertas/if_sdio.c
@@ -934,7 +934,7 @@ static int if_sdio_probe(struct sdio_func *func,
934 } 934 }
935 935
936 if (i == ARRAY_SIZE(if_sdio_models)) { 936 if (i == ARRAY_SIZE(if_sdio_models)) {
937 lbs_pr_err("unkown card model 0x%x\n", card->model); 937 lbs_pr_err("unknown card model 0x%x\n", card->model);
938 ret = -ENODEV; 938 ret = -ENODEV;
939 goto free; 939 goto free;
940 } 940 }
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c
index bc08464d8323..f7f5c793514b 100644
--- a/drivers/net/wireless/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/prism54/isl_ioctl.c
@@ -1897,7 +1897,7 @@ prism54_get_mac(struct net_device *ndev, struct iw_request_info *info,
1897 return 0; 1897 return 0;
1898} 1898}
1899 1899
1900/* Setting policy also clears the MAC acl, even if we don't change the defaut 1900/* Setting policy also clears the MAC acl, even if we don't change the default
1901 * policy 1901 * policy
1902 */ 1902 */
1903 1903
@@ -2323,7 +2323,7 @@ prism54_process_trap_helper(islpci_private *priv, enum oid_num_t oid,
2323 2323
2324 case DOT11_OID_BEACON: 2324 case DOT11_OID_BEACON:
2325 send_formatted_event(priv, 2325 send_formatted_event(priv,
2326 "Received a beacon from an unkown AP", 2326 "Received a beacon from an unknown AP",
2327 mlme, 0); 2327 mlme, 0);
2328 break; 2328 break;
2329 2329
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.h b/drivers/net/wireless/rt2x00/rt2400pci.h
index ccd644104ad1..aced05775693 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.h
+++ b/drivers/net/wireless/rt2x00/rt2400pci.h
@@ -35,7 +35,7 @@
35 35
36/* 36/*
37 * Signal information. 37 * Signal information.
38 * Defaul offset is required for RSSI <-> dBm conversion. 38 * Default offset is required for RSSI <-> dBm conversion.
39 */ 39 */
40#define DEFAULT_RSSI_OFFSET 100 40#define DEFAULT_RSSI_OFFSET 100
41 41
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.h b/drivers/net/wireless/rt2x00/rt2500pci.h
index 54d37957883c..3db9041838a4 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.h
+++ b/drivers/net/wireless/rt2x00/rt2500pci.h
@@ -46,7 +46,7 @@
46 46
47/* 47/*
48 * Signal information. 48 * Signal information.
49 * Defaul offset is required for RSSI <-> dBm conversion. 49 * Default offset is required for RSSI <-> dBm conversion.
50 */ 50 */
51#define DEFAULT_RSSI_OFFSET 121 51#define DEFAULT_RSSI_OFFSET 121
52 52
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.h b/drivers/net/wireless/rt2x00/rt2500usb.h
index b01edca42583..d3000827883a 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.h
+++ b/drivers/net/wireless/rt2x00/rt2500usb.h
@@ -46,7 +46,7 @@
46 46
47/* 47/*
48 * Signal information. 48 * Signal information.
49 * Defaul offset is required for RSSI <-> dBm conversion. 49 * Default offset is required for RSSI <-> dBm conversion.
50 */ 50 */
51#define DEFAULT_RSSI_OFFSET 120 51#define DEFAULT_RSSI_OFFSET 120
52 52
diff --git a/drivers/net/wireless/rt2x00/rt61pci.h b/drivers/net/wireless/rt2x00/rt61pci.h
index 93eb699165cc..77b5116f549b 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.h
+++ b/drivers/net/wireless/rt2x00/rt61pci.h
@@ -37,7 +37,7 @@
37 37
38/* 38/*
39 * Signal information. 39 * Signal information.
40 * Defaul offset is required for RSSI <-> dBm conversion. 40 * Default offset is required for RSSI <-> dBm conversion.
41 */ 41 */
42#define DEFAULT_RSSI_OFFSET 120 42#define DEFAULT_RSSI_OFFSET 120
43 43
diff --git a/drivers/net/wireless/rt2x00/rt73usb.h b/drivers/net/wireless/rt2x00/rt73usb.h
index 81fe0be51c42..e194332dac5f 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.h
+++ b/drivers/net/wireless/rt2x00/rt73usb.h
@@ -37,7 +37,7 @@
37 37
38/* 38/*
39 * Signal information. 39 * Signal information.
40 * Defaul offset is required for RSSI <-> dBm conversion. 40 * Default offset is required for RSSI <-> dBm conversion.
41 */ 41 */
42#define DEFAULT_RSSI_OFFSET 120 42#define DEFAULT_RSSI_OFFSET 120
43 43
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c
index 431a20ec6db6..b3b0b5b685c6 100644
--- a/drivers/net/wireless/wavelan_cs.c
+++ b/drivers/net/wireless/wavelan_cs.c
@@ -4011,7 +4011,7 @@ wavelan_interrupt(int irq,
4011#endif 4011#endif
4012 4012
4013 /* Prevent reentrancy. We need to do that because we may have 4013 /* Prevent reentrancy. We need to do that because we may have
4014 * multiple interrupt handler running concurently. 4014 * multiple interrupt handler running concurrently.
4015 * It is safe because interrupts are disabled before aquiring 4015 * It is safe because interrupts are disabled before aquiring
4016 * the spinlock. */ 4016 * the spinlock. */
4017 spin_lock(&lp->spinlock); 4017 spin_lock(&lp->spinlock);
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c
index 6d666359a42f..2b7f96594373 100644
--- a/drivers/net/wireless/zd1211rw/zd_mac.c
+++ b/drivers/net/wireless/zd1211rw/zd_mac.c
@@ -312,7 +312,7 @@ static void tx_status(struct ieee80211_hw *hw, struct sk_buff *skb,
312 * zd_mac_tx_failed - callback for failed frames 312 * zd_mac_tx_failed - callback for failed frames
313 * @dev: the mac80211 wireless device 313 * @dev: the mac80211 wireless device
314 * 314 *
315 * This function is called if a frame couldn't be succesfully be 315 * This function is called if a frame couldn't be successfully be
316 * transferred. The first frame from the tx queue, will be selected and 316 * transferred. The first frame from the tx queue, will be selected and
317 * reported as error to the upper layers. 317 * reported as error to the upper layers.
318 */ 318 */