diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-05-20 15:19:01 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-05-20 15:19:01 -0400 |
commit | ba7c96bec59d1c11cf9eaf6489e70e22f53da31b (patch) | |
tree | 6d5c92ee3b4fa2d422f11d05da308a7cde614a5f /drivers/net/wireless/ath/ath9k/debug.c | |
parent | 057cf65e4f715f62acccbd9125cf63eddfe69d30 (diff) | |
parent | 6bb4880d9ef30375da4507aeabd6dc261a2c6c2b (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/debug.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c index e6307b86363a..b37eb8d38811 100644 --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c @@ -2008,6 +2008,14 @@ void ath9k_get_et_stats(struct ieee80211_hw *hw, WARN_ON(i != ATH9K_SSTATS_LEN); } +void ath9k_deinit_debug(struct ath_softc *sc) +{ + if (config_enabled(CONFIG_ATH9K_DEBUGFS) && sc->rfs_chan_spec_scan) { + relay_close(sc->rfs_chan_spec_scan); + sc->rfs_chan_spec_scan = NULL; + } +} + int ath9k_init_debug(struct ath_hw *ah) { struct ath_common *common = ath9k_hw_common(ah); |