On Tue, 2010-09-28 at 12:01 -0700, Ben Greear wrote: > On 09/28/2010 11:53 AM, Johannes Berg wrote: > > On Tue, 2010-09-28 at 10:56 -0700, Ben Greear wrote: > > > >> Anyway, the reason is that the driver may not know the VIF (and > >> vif may be deleted) when calling the ieee80211_rts_duration, so it needs to be stored > >> in the tx_info structure. > > > > But the vif pointer in the tx_info structure is valid during the entire > > tx() call, why would you need to call rts_duration during TX status? > > Err, I guess you are right. I was thinking it might retransmit sometime > later, but at least ath5k doesn't appear to do this. mac80211 has retransmit support, but that'll go through TX with a valid vif pointer again ... johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html