diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-11-28 04:38:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-30 13:38:15 -0500 |
commit | a145daf7f04696d0cec98d5328760fe65fe418c5 (patch) | |
tree | 9b39043c4ba827a65d524a2afda047d1f8b01659 /drivers/net/wireless/ath/ath9k/main.c | |
parent | de7b7604eae91f00cd587f8541eec11a7fc505aa (diff) |
ath9k: Implement sta_add_debugfs/sta_remove_debugfs
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index ffae384276a6..be30a9af1528 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -331,6 +331,7 @@ static void ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, | |||
331 | u8 density; | 331 | u8 density; |
332 | an = (struct ath_node *)sta->drv_priv; | 332 | an = (struct ath_node *)sta->drv_priv; |
333 | 333 | ||
334 | an->sc = sc; | ||
334 | an->sta = sta; | 335 | an->sta = sta; |
335 | an->vif = vif; | 336 | an->vif = vif; |
336 | 337 | ||
@@ -2275,7 +2276,12 @@ struct ieee80211_ops ath9k_ops = { | |||
2275 | 2276 | ||
2276 | #ifdef CONFIG_ATH9K_DEBUGFS | 2277 | #ifdef CONFIG_ATH9K_DEBUGFS |
2277 | .get_et_sset_count = ath9k_get_et_sset_count, | 2278 | .get_et_sset_count = ath9k_get_et_sset_count, |
2278 | .get_et_stats = ath9k_get_et_stats, | 2279 | .get_et_stats = ath9k_get_et_stats, |
2279 | .get_et_strings = ath9k_get_et_strings, | 2280 | .get_et_strings = ath9k_get_et_strings, |
2281 | #endif | ||
2282 | |||
2283 | #if defined(CONFIG_MAC80211_DEBUGFS) && defined(CONFIG_ATH9K_DEBUGFS) | ||
2284 | .sta_add_debugfs = ath9k_sta_add_debugfs, | ||
2285 | .sta_remove_debugfs = ath9k_sta_remove_debugfs, | ||
2280 | #endif | 2286 | #endif |
2281 | }; | 2287 | }; |