Commit 67f9178f authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by Kalle Valo

ath6kl: Minor cleanup in min_hdr_len computation

Signed-off-by: default avatarVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 83dc5f2f
......@@ -1065,8 +1065,7 @@ void ath6kl_rx(struct htc_target *target, struct htc_packet *packet)
return;
}
min_hdr_len = sizeof(struct ethhdr);
min_hdr_len += sizeof(struct wmi_data_hdr) +
min_hdr_len = sizeof(struct ethhdr) + sizeof(struct wmi_data_hdr) +
sizeof(struct ath6kl_llc_snap_hdr);
dhdr = (struct wmi_data_hdr *) skb->data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment