Skip to content

Commit

Permalink
ath6kl: Minor cleanup in min_hdr_len computation
Browse files Browse the repository at this point in the history
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Vasanthakumar Thiagarajan authored and Kalle Valo committed Aug 31, 2011
1 parent 83dc5f2 commit 67f9178
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/net/wireless/ath/ath6kl/txrx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 67f9178

Please sign in to comment.