]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: Cleanup after API changes
authorLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Mon, 4 Feb 2008 02:51:49 +0000 (21:51 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:19:37 +0000 (15:19 -0500)
commitb953e1acc80458bbe6a7819e24f0a5e6bfa0a6a5
tree46e284462d150443c173519be9b7e680792f18e7
parenta9d1dc8fbb8b6636ab682db583dd67aa67e792a4
ath5k: Cleanup after API changes

Cleanup after API changes patch (checkpatch.pl stuff) and on
ath5k_hw_channel() make use of the existing ath5k_channel_ok()
instead of re-implementing the checks again. This was necessary
to make the code cleaner and fit the 80-chars wide limit so
sending it within the same patch.

Finally make a note that we *may* eventually move cap_range stuff
to struct wiphy (band frequency range capabilities). This
information can later be exported to userspace, for example,
and giving it access to mac80211 and drivers in general can come
in handy.

Changes to initvals.c, phy.c
Changes-licensed-under: ISC

Changes to ath5k.h, base.c
Changes-licensed-under: 3-Clause-BSD

Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/ath5k.h
drivers/net/wireless/ath5k/base.c
drivers/net/wireless/ath5k/initvals.c
drivers/net/wireless/ath5k/phy.c