summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/common.h
diff options
context:
space:
mode:
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>2013-08-16 10:46:04 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-08-16 14:17:47 -0400
commit0671894f977b6f03b63fddc33743474f495db4eb (patch)
treecc4a56a8b4be11858848141757c3be55d55dd6c2 /drivers/net/wireless/ath/ath9k/common.h
parent92367fe7f24159d6ba83276bc7a0f45c6f663837 (diff)
downloadop-kernel-dev-0671894f977b6f03b63fddc33743474f495db4eb.zip
op-kernel-dev-0671894f977b6f03b63fddc33743474f495db4eb.tar.gz
ath9k: use chandef instead of channel_type
To enable support for 5/10 MHz, some internal functions must be converted from using the (old) channel_type to chandef. This is a good chance to change all remaining occurences. Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/common.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h
index 207d069..e039bcb 100644
--- a/drivers/net/wireless/ath/ath9k/common.h
+++ b/drivers/net/wireless/ath/ath9k/common.h
@@ -44,8 +44,7 @@
int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb);
void ath9k_cmn_update_ichannel(struct ath9k_channel *ichan,
- struct ieee80211_channel *chan,
- enum nl80211_channel_type channel_type);
+ struct cfg80211_chan_def *chandef);
struct ath9k_channel *ath9k_cmn_get_curchannel(struct ieee80211_hw *hw,
struct ath_hw *ah);
int ath9k_cmn_count_streams(unsigned int chainmask, int max);
OpenPOWER on IntegriCloud