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>
This commit is contained in:
Felix Fietkau
2011-01-24 19:23:18 +01:00
committed by John W. Linville
parent 0cdd5c60e4
commit 9ac58615d9
10 changed files with 52 additions and 105 deletions

View File

@@ -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)