|
@@ -2011,7 +2011,7 @@ static int hwsim_tx_info_frame_received_nl(struct sk_buff *skb_2,
|
|
(hwsim_flags & HWSIM_TX_STAT_ACK)) {
|
|
(hwsim_flags & HWSIM_TX_STAT_ACK)) {
|
|
if (skb->len >= 16) {
|
|
if (skb->len >= 16) {
|
|
hdr = (struct ieee80211_hdr *) skb->data;
|
|
hdr = (struct ieee80211_hdr *) skb->data;
|
|
- mac80211_hwsim_monitor_ack(txi->rate_driver_data[0],
|
|
|
|
|
|
+ mac80211_hwsim_monitor_ack(data2->channel,
|
|
hdr->addr2);
|
|
hdr->addr2);
|
|
}
|
|
}
|
|
txi->flags |= IEEE80211_TX_STAT_ACK;
|
|
txi->flags |= IEEE80211_TX_STAT_ACK;
|