fix truncated monitor mode capture packets
This commit is contained in:
parent
41f13ac79a
commit
4d9b26dd04
@ -4068,8 +4068,9 @@ int recv_frame_monitor(_adapter *padapter, union recv_frame *rframe)
|
||||
|
||||
/* read skb information from recv frame */
|
||||
pskb = rframe->u.hdr.pkt;
|
||||
pskb->len = rframe->u.hdr.len;
|
||||
pskb->head = rframe->u.hdr.rx_head;
|
||||
pskb->data = rframe->u.hdr.rx_data;
|
||||
pskb->len = rframe->u.hdr.len;
|
||||
skb_set_tail_pointer(pskb, rframe->u.hdr.len);
|
||||
|
||||
if (ndev->type == ARPHRD_IEEE80211_RADIOTAP) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user