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.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index f95283f3c350..7c63976b5b0c 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -2183,14 +2183,17 @@ static int ath9k_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant)
2183 return 0; 2183 return 0;
2184} 2184}
2185 2185
2186static void ath9k_sw_scan_start(struct ieee80211_hw *hw) 2186static void ath9k_sw_scan_start(struct ieee80211_hw *hw,
2187 struct ieee80211_vif *vif,
2188 const u8 *mac_addr)
2187{ 2189{
2188 struct ath_softc *sc = hw->priv; 2190 struct ath_softc *sc = hw->priv;
2189 struct ath_common *common = ath9k_hw_common(sc->sc_ah); 2191 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
2190 set_bit(ATH_OP_SCANNING, &common->op_flags); 2192 set_bit(ATH_OP_SCANNING, &common->op_flags);
2191} 2193}
2192 2194
2193static void ath9k_sw_scan_complete(struct ieee80211_hw *hw) 2195static void ath9k_sw_scan_complete(struct ieee80211_hw *hw,
2196 struct ieee80211_vif *vif)
2194{ 2197{
2195 struct ath_softc *sc = hw->priv; 2198 struct ath_softc *sc = hw->priv;
2196 struct ath_common *common = ath9k_hw_common(sc->sc_ah); 2199 struct ath_common *common = ath9k_hw_common(sc->sc_ah);