• Luis R. Rodriguez's avatar
    ath5k: Cleanup after API changes · 400ec45a
    Luis R. Rodriguez authored
    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: default avatarLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>