linux/drivers/net/wireless
Pavel Roskin 152d530d9e ath9k: remove ah->mask_reg, it's never used properly
ah->mask_reg was used to hold different data throughout the driver.
ath9k_hw_init_interrupt_masks() used it to save the value written to
AR_IMR.  ath9k_hw_set_interrupts() used it to hold the interrupt mask as
defined in enum ath9k_int.  Those masks differ in many bits.

Use ah->imask instead of ah->mask_reg in ath9k_hw_set_interrupts() and
ath9k_hw_updatetxtriglevel().  That's what the code was meant to do.
ah->imask is initialized in ath9k_start(), so we don't need to
initialize it from ah->mask_reg.

Once it's done, ah->mask_reg becomes write-only, so it's replaced with a
local variable in ath9k_hw_init_interrupt_masks().

Signed-off-by: Pavel Roskin <proski@gnu.org>
Reported-by: Julia Lawall <julia@diku.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-04-06 16:55:08 -04:00
..
ath ath9k: remove ah->mask_reg, it's never used properly 2010-04-06 16:55:08 -04:00
b43 b43: N-PHY: fix value written on 2055 radio setup 2010-03-31 14:39:19 -04:00
b43legacy Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
hostap Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
ipw2x00 wireless/ipw2x00: remove trailing space in messages 2010-03-31 14:51:37 -04:00
iwlwifi iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwmc3200wifi iwmc3200wifi: typo fix and code cleanup 2010-03-10 17:09:39 -05:00
libertas libertas/sdio: 8686: set ECSI bit for 1-bit transfers 2010-04-06 16:52:06 -04:00
libertas_tf
orinoco orinoco/wext.c: Remove local #define STD_IW_HANDLER 2010-03-23 16:50:28 -04:00
p54 wireless/prism54: remove trailing space in messages 2010-03-31 14:39:07 -04:00
prism54 wireless/prism54: remove trailing space in messages 2010-03-31 14:39:07 -04:00
rt2x00 rt2x00: Add wakeup interrupt handler to rt2800pci. 2010-04-06 16:55:06 -04:00
rtl818x Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-02-26 16:54:45 -05:00
wl12xx wl1271: Fix msleep() delay while waiting for completion 2010-03-31 14:39:16 -04:00
zd1211rw zd1211rw: fix potential array underflow 2010-03-02 14:28:49 -05:00
adm8211.c
adm8211.h
airo_cs.c
airo.c airo : Print of firmware version 2010-03-15 15:28:20 -04:00
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c
Makefile
mwl8k.c mwl8k: convert to new station add/remove callbacks 2010-02-22 11:21:43 -05:00
ray_cs.c wireless/raylink: remove trailing space in messages 2010-03-31 14:39:07 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: Implement cfg80211 PMKSA API 2010-03-10 17:44:28 -05:00
wl3501_cs.c drivers/net/wireless: Use IW_HANDLER macro 2010-03-23 16:50:27 -04:00
wl3501.h
zd1201.c wireless: convert to use netdev_for_each_mc_addr 2010-02-28 01:44:01 -08:00
zd1201.h