ath9k: make ath9k_uses_beacons static
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
7f329bbb3d
commit
c648ecb044
|
@ -933,7 +933,6 @@ void ath9k_deinit_device(struct ath_softc *sc);
|
||||||
void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw);
|
void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw);
|
||||||
void ath9k_reload_chainmask_settings(struct ath_softc *sc);
|
void ath9k_reload_chainmask_settings(struct ath_softc *sc);
|
||||||
|
|
||||||
bool ath9k_uses_beacons(int type);
|
|
||||||
void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw);
|
void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw);
|
||||||
int ath9k_spectral_scan_config(struct ieee80211_hw *hw,
|
int ath9k_spectral_scan_config(struct ieee80211_hw *hw,
|
||||||
enum spectral_mode spectral_mode);
|
enum spectral_mode spectral_mode);
|
||||||
|
|
|
@ -897,7 +897,7 @@ static void ath9k_stop(struct ieee80211_hw *hw)
|
||||||
ath_dbg(common, CONFIG, "Driver halt\n");
|
ath_dbg(common, CONFIG, "Driver halt\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ath9k_uses_beacons(int type)
|
static bool ath9k_uses_beacons(int type)
|
||||||
{
|
{
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case NL80211_IFTYPE_AP:
|
case NL80211_IFTYPE_AP:
|
||||||
|
|
Loading…
Reference in New Issue