File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
drivers/net/wireless/ath/ath12k Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1823,6 +1823,7 @@ static int ath12k_dp_rx_msdu_coalesce(struct ath12k *ar,
18231823 struct hal_rx_desc * ldesc ;
18241824 int space_extra , rem_len , buf_len ;
18251825 u32 hal_rx_desc_sz = ar -> ab -> hal .hal_desc_sz ;
1826+ bool is_continuation ;
18261827
18271828 /* As the msdu is spread across multiple rx buffers,
18281829 * find the offset to the start of msdu for computing
@@ -1871,7 +1872,8 @@ static int ath12k_dp_rx_msdu_coalesce(struct ath12k *ar,
18711872 rem_len = msdu_len - buf_first_len ;
18721873 while ((skb = __skb_dequeue (msdu_list )) != NULL && rem_len > 0 ) {
18731874 rxcb = ATH12K_SKB_RXCB (skb );
1874- if (rxcb -> is_continuation )
1875+ is_continuation = rxcb -> is_continuation ;
1876+ if (is_continuation )
18751877 buf_len = DP_RX_BUFFER_SIZE - hal_rx_desc_sz ;
18761878 else
18771879 buf_len = rem_len ;
@@ -1889,7 +1891,7 @@ static int ath12k_dp_rx_msdu_coalesce(struct ath12k *ar,
18891891 dev_kfree_skb_any (skb );
18901892
18911893 rem_len -= buf_len ;
1892- if (!rxcb -> is_continuation )
1894+ if (!is_continuation )
18931895 break ;
18941896 }
18951897
You can’t perform that action at this time.
0 commit comments