mirror_ubuntu-kernels/drivers/net/wireless/ath/ath5k
Jiri Slaby 188741731c ath5k: cleanup channel to eprom_mode function
Stop returning negative values from ath5k_eeprom_mode_from_channel.
Yell loudly about that case in that function instead and return the
default/zero/mode A. This cleans up the callers, but needs to pass ah
down to ath5k_eeprom_mode_from_channel for ATH5K_WARN. For that
purpose we also need the declaration to be moved to ath5k.h.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-03-06 16:24:27 -05:00
..
ahb.c
ani.c
ani.h
ath5k.h ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
attach.c
base.c
base.h
caps.c
debug.c
debug.h
desc.c
desc.h
dma.c
eeprom.c ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
eeprom.h ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
gpio.c
initvals.c
Kconfig
led.c
mac80211-ops.c
Makefile
pci.c
pcu.c
phy.c ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
qcu.c
reg.h
reset.c ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
rfbuffer.h
rfgain.h
rfkill.c
sysfs.c
trace.h