aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index ee39702da5d..fb803e20976 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -2143,7 +2143,7 @@ static void ath9k_bss_info_changed(struct ieee80211_hw *hw,
2143 ath9k_ps_restore(sc); 2143 ath9k_ps_restore(sc);
2144} 2144}
2145 2145
2146static u64 ath9k_get_tsf(struct ieee80211_hw *hw) 2146static u64 ath9k_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
2147{ 2147{
2148 struct ath_softc *sc = hw->priv; 2148 struct ath_softc *sc = hw->priv;
2149 u64 tsf; 2149 u64 tsf;
@@ -2157,7 +2157,9 @@ static u64 ath9k_get_tsf(struct ieee80211_hw *hw)
2157 return tsf; 2157 return tsf;
2158} 2158}
2159 2159
2160static void ath9k_set_tsf(struct ieee80211_hw *hw, u64 tsf) 2160static void ath9k_set_tsf(struct ieee80211_hw *hw,
2161 struct ieee80211_vif *vif,
2162 u64 tsf)
2161{ 2163{
2162 struct ath_softc *sc = hw->priv; 2164 struct ath_softc *sc = hw->priv;
2163 2165
@@ -2168,7 +2170,7 @@ static void ath9k_set_tsf(struct ieee80211_hw *hw, u64 tsf)
2168 mutex_unlock(&sc->mutex); 2170 mutex_unlock(&sc->mutex);
2169} 2171}
2170 2172
2171static void ath9k_reset_tsf(struct ieee80211_hw *hw) 2173static void ath9k_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
2172{ 2174{
2173 struct ath_softc *sc = hw->priv; 2175 struct ath_softc *sc = hw->priv;
2174 2176