diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-01-24 21:23:18 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-28 23:42:00 +0300 |
commit | 9ac58615d93c8a28b1c649a90a5e2ede4dfd368a (patch) | |
tree | c17d665e6de3b05bc20d75af1c90d4d15e686e45 /drivers/net/wireless/ath/ath9k/rc.c | |
parent | 0cdd5c60e4538d02414144e0682941a4eb20ffa8 (diff) | |
download | linux-9ac58615d93c8a28b1c649a90a5e2ede4dfd368a.tar.xz |
ath9k: fold struct ath_wiphy into struct ath_softc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/rc.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/rc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index e45147820eae..960d717ca7c2 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c @@ -1560,8 +1560,7 @@ static void ath_rate_add_sta_debugfs(void *priv, void *priv_sta, static void *ath_rate_alloc(struct ieee80211_hw *hw, struct dentry *debugfsdir) { - struct ath_wiphy *aphy = hw->priv; - return aphy->sc; + return hw->priv; } static void ath_rate_free(void *priv) |