mac80211: dont use interface indices in drivers
[deliverable/linux.git] / drivers / net / wireless / ath5k / hw.c
index 5623d7dc738ef102a4f2c2579b702f82db4c7356..3b9336387df0199d79cbb8630acc716ee0821881 100644 (file)
@@ -533,7 +533,7 @@ static inline void ath5k_hw_write_rate_duration(struct ath5k_hw *ah,
                 * ieee80211_duration() for a brief description of
                 * what rate we should choose to TX ACKs. */
                tx_time = ieee80211_generic_frame_duration(sc->hw,
-                       sc->iface_id, 10, control_rate->rate_kbps/100);
+                       sc->vif, 10, control_rate->rate_kbps/100);
 
                ath5k_hw_reg_write(ah, tx_time, reg);
 
This page took 0.024528 seconds and 5 git commands to generate.