diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-09 22:43:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-09 22:43:33 -0500 |
commit | 4ef58d4e2ad1fa2a3e5bbf41af2284671fca8cf8 (patch) | |
tree | 856ba96302a36014736747e8464f80eeb827bbdd /drivers/net/wireless/ath/ath5k | |
parent | f6c4c8195b5e7878823caa1181be404d9e86d369 (diff) | |
parent | d014d043869cdc591f3a33243d3481fa4479c2d0 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
tree-wide: fix misspelling of "definition" in comments
reiserfs: fix misspelling of "journaled"
doc: Fix a typo in slub.txt.
inotify: remove superfluous return code check
hdlc: spelling fix in find_pvc() comment
doc: fix regulator docs cut-and-pasteism
mtd: Fix comment in Kconfig
doc: Fix IRQ chip docs
tree-wide: fix assorted typos all over the place
drivers/ata/libata-sff.c: comment spelling fixes
fix typos/grammos in Documentation/edac.txt
sysctl: add missing comments
fs/debugfs/inode.c: fix comment typos
sgivwfb: Make use of ARRAY_SIZE.
sky2: fix sky2_link_down copy/paste comment error
tree-wide: fix typos "couter" -> "counter"
tree-wide: fix typos "offest" -> "offset"
fix kerneldoc for set_irq_msi()
spidev: fix double "of of" in comment
comment typo fix: sybsystem -> subsystem
...
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/eeprom.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h index b72338c9bde7..952b3a21bbc3 100644 --- a/drivers/net/wireless/ath/ath5k/base.h +++ b/drivers/net/wireless/ath/ath5k/base.h | |||
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * Defintions for the Atheros Wireless LAN controller driver. | 39 | * Definitions for the Atheros Wireless LAN controller driver. |
40 | */ | 40 | */ |
41 | #ifndef _DEV_ATH_ATHVAR_H | 41 | #ifndef _DEV_ATH_ATHVAR_H |
42 | #define _DEV_ATH_ATHVAR_H | 42 | #define _DEV_ATH_ATHVAR_H |
@@ -190,7 +190,7 @@ struct ath5k_softc { | |||
190 | struct ath5k_txq *cabq; /* content after beacon */ | 190 | struct ath5k_txq *cabq; /* content after beacon */ |
191 | 191 | ||
192 | int power_level; /* Requested tx power in dbm */ | 192 | int power_level; /* Requested tx power in dbm */ |
193 | bool assoc; /* assocate state */ | 193 | bool assoc; /* associate state */ |
194 | bool enable_beacon; /* true if beacons are on */ | 194 | bool enable_beacon; /* true if beacons are on */ |
195 | }; | 195 | }; |
196 | 196 | ||
diff --git a/drivers/net/wireless/ath/ath5k/eeprom.c b/drivers/net/wireless/ath/ath5k/eeprom.c index 644962adda97..81ea52c4faff 100644 --- a/drivers/net/wireless/ath/ath5k/eeprom.c +++ b/drivers/net/wireless/ath/ath5k/eeprom.c | |||
@@ -1492,7 +1492,7 @@ ath5k_eeprom_read_target_rate_pwr_info(struct ath5k_hw *ah, unsigned int mode) | |||
1492 | * This info is used to calibrate the baseband power table. Imagine | 1492 | * This info is used to calibrate the baseband power table. Imagine |
1493 | * that for each channel there is a power curve that's hw specific | 1493 | * that for each channel there is a power curve that's hw specific |
1494 | * (depends on amplifier etc) and we try to "correct" this curve using | 1494 | * (depends on amplifier etc) and we try to "correct" this curve using |
1495 | * offests we pass on to phy chip (baseband -> before amplifier) so that | 1495 | * offsets we pass on to phy chip (baseband -> before amplifier) so that |
1496 | * it can use accurate power values when setting tx power (takes amplifier's | 1496 | * it can use accurate power values when setting tx power (takes amplifier's |
1497 | * performance on each channel into account). | 1497 | * performance on each channel into account). |
1498 | * | 1498 | * |
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index bbfdcd5e7cb1..72474c0ccaff 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 |
@@ -2746,7 +2746,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah, | |||
2746 | /* Fill curves in reverse order | 2746 | /* Fill curves in reverse order |
2747 | * from lower power (max gain) | 2747 | * from lower power (max gain) |
2748 | * to higher power. Use curve -> idx | 2748 | * to higher power. Use curve -> idx |
2749 | * backmaping we did on eeprom init */ | 2749 | * backmapping we did on eeprom init */ |
2750 | u8 idx = pdg_curve_to_idx[pdg]; | 2750 | u8 idx = pdg_curve_to_idx[pdg]; |
2751 | 2751 | ||
2752 | /* Grab the needed curves by index */ | 2752 | /* Grab the needed curves by index */ |
@@ -2848,7 +2848,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah, | |||
2848 | /* Now we have a set of curves for this | 2848 | /* Now we have a set of curves for this |
2849 | * channel on tmpL (x range is table_max - table_min | 2849 | * channel on tmpL (x range is table_max - table_min |
2850 | * and y values are tmpL[pdg][]) sorted in the same | 2850 | * and y values are tmpL[pdg][]) sorted in the same |
2851 | * order as EEPROM (because we've used the backmaping). | 2851 | * order as EEPROM (because we've used the backmapping). |
2852 | * So for RF5112 it's from higher power to lower power | 2852 | * So for RF5112 it's from higher power to lower power |
2853 | * and for RF2413 it's from lower power to higher power. | 2853 | * and for RF2413 it's from lower power to higher power. |
2854 | * For RF5111 we only have one curve. */ | 2854 | * For RF5111 we only have one curve. */ |