wlantest: Process TX status frames as RX frames too
This is needed to allow capture files from the mac80211 cooked monitor mode interface to be processed properly. Without this, the locally generated frames may not get processed. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
62f6fbb480
commit
44f6d554ee
1 changed files with 4 additions and 1 deletions
|
@ -331,8 +331,11 @@ void wlantest_process(struct wlantest *wt, const u8 *data, size_t len)
|
|||
return;
|
||||
if (!txflags)
|
||||
rx_frame(wt, frame, frame_len);
|
||||
else
|
||||
else {
|
||||
tx_status(wt, frame, frame_len, !failed);
|
||||
/* Process as RX frame to support local monitor interface */
|
||||
rx_frame(wt, frame, frame_len);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue