wlantest: Fix source address for FromDS frames

This commit is contained in:
Jouni Malinen 2011-03-14 21:35:14 +02:00 committed by Jouni Malinen
parent 7099861e4e
commit 39c147261e

View file

@ -506,7 +506,7 @@ void rx_data(struct wlantest *wt, const u8 *data, size_t len)
MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), MAC2STR(hdr->addr1), MAC2STR(hdr->addr2),
MAC2STR(hdr->addr3)); MAC2STR(hdr->addr3));
add_ap_path(wt, hdr->addr2, hdr->addr1, hdr->addr3); add_ap_path(wt, hdr->addr2, hdr->addr1, hdr->addr3);
rx_data_bss(wt, hdr, qos, hdr->addr1, hdr->addr2, rx_data_bss(wt, hdr, qos, hdr->addr1, hdr->addr3,
data + hdrlen, len - hdrlen); data + hdrlen, len - hdrlen);
break; break;
case WLAN_FC_TODS: case WLAN_FC_TODS: