mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
ath6kl: Minor cleanup in min_hdr_len computation
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
83dc5f2f93
commit
67f9178fd9
1 changed files with 2 additions and 3 deletions
|
|
@ -1065,9 +1065,8 @@ 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) +
|
||||
sizeof(struct ath6kl_llc_snap_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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue