diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-11 17:31:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-14 13:39:59 -0400 |
commit | c648ecb044a0536be0f40533663eae9f20f1e83e (patch) | |
tree | 09400262d7e80cfd95ccffc766b1215d78bb9986 /drivers | |
parent | 7f329bbb3debf22c272b192d334058554c716d57 (diff) |
ath9k: make ath9k_uses_beacons static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index d03b85e57614..5492a0ce0729 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -933,7 +933,6 @@ void ath9k_deinit_device(struct ath_softc *sc); | |||
933 | void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw); | 933 | void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw); |
934 | void ath9k_reload_chainmask_settings(struct ath_softc *sc); | 934 | void ath9k_reload_chainmask_settings(struct ath_softc *sc); |
935 | 935 | ||
936 | bool ath9k_uses_beacons(int type); | ||
937 | void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw); | 936 | void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw); |
938 | int ath9k_spectral_scan_config(struct ieee80211_hw *hw, | 937 | int ath9k_spectral_scan_config(struct ieee80211_hw *hw, |
939 | enum spectral_mode spectral_mode); | 938 | enum spectral_mode spectral_mode); |
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index c01831b462a0..c42b55c1face 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -897,7 +897,7 @@ static void ath9k_stop(struct ieee80211_hw *hw) | |||
897 | ath_dbg(common, CONFIG, "Driver halt\n"); | 897 | ath_dbg(common, CONFIG, "Driver halt\n"); |
898 | } | 898 | } |
899 | 899 | ||
900 | bool ath9k_uses_beacons(int type) | 900 | static bool ath9k_uses_beacons(int type) |
901 | { | 901 | { |
902 | switch (type) { | 902 | switch (type) { |
903 | case NL80211_IFTYPE_AP: | 903 | case NL80211_IFTYPE_AP: |