ath9k: port to cfg80211 rfkill
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 13 Jun 2009 09:20:26 +0000 (14:20 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Jun 2009 19:05:57 +0000 (15:05 -0400)
commit3b319aae4244f9b4758212605f67cf63207a4fa1
tree52a06f91c8a4d8784904bb46cbc2a0581ece7069
parent159cd468bc885f7a2fbc75bbfe782782e52ef9c9
ath9k: port to cfg80211 rfkill

This ports the ath9k rfkill code to the new API offered by
cfg80211 and thus removes a lot of useless stuff.

("With this series a kernel panic, which is a regression, during module
unload disappears." -- Vasanthakumar Thiagarajan <vasanth@atheros.com>

Other patches in the series:

  ath9k: Add helper to get ath9k specific current channel
  ath9k: Make sure we have current channel in ah_curchan before rf
    disable/enable

-- JWL)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis Rodriguez <mcgrof@gmail.com>
Tested-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/Kconfig
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/main.c