mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Revert "qcacld-3.0: Drop mcast and plaintext frags in protected network"
This reverts commit 5df7339711.
Reason for revert: Duplicated commit
Change-Id: I1f90954d9dba9347567c4a9e76340d37a1944b8b
This commit is contained in:
parent
8d4296749a
commit
73c173798f
1 changed files with 0 additions and 22 deletions
|
|
@ -453,28 +453,6 @@ ol_rx_reorder_store_frag(ol_txrx_pdev_handle pdev,
|
|||
return;
|
||||
}
|
||||
|
||||
rx_desc = htt_rx_msdu_desc_retrieve(htt_pdev, frag);
|
||||
qdf_assert(htt_rx_msdu_has_wlan_mcast_flag(htt_pdev, rx_desc));
|
||||
index = htt_rx_msdu_is_wlan_mcast(htt_pdev, rx_desc) ?
|
||||
txrx_sec_mcast : txrx_sec_ucast;
|
||||
|
||||
/*
|
||||
* Multicast/Broadcast frames should not be fragmented so drop
|
||||
* such frames.
|
||||
*/
|
||||
if (index != txrx_sec_ucast) {
|
||||
ol_rx_frames_free(htt_pdev, frag);
|
||||
return;
|
||||
}
|
||||
|
||||
if (peer->security[index].sec_type != htt_sec_type_none &&
|
||||
!htt_rx_mpdu_is_encrypted(htt_pdev, rx_desc)) {
|
||||
ol_txrx_err("Unencrypted fragment received in security mode %d",
|
||||
peer->security[index].sec_type);
|
||||
ol_rx_frames_free(htt_pdev, frag);
|
||||
return;
|
||||
}
|
||||
|
||||
if ((!more_frag) && (!fragno) && (!rx_reorder_array_elem->head)) {
|
||||
rx_reorder_array_elem->head = frag;
|
||||
rx_reorder_array_elem->tail = frag;
|
||||
|
|
|
|||
Loading…
Reference in a new issue