Commit d64d7376 authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman
parent 6598b12d
...@@ -484,9 +484,9 @@ static void wfx_skb_dtor(struct wfx_dev *wdev, ...@@ -484,9 +484,9 @@ static void wfx_skb_dtor(struct wfx_dev *wdev,
struct hif_msg *hif = (struct hif_msg *)skb->data; struct hif_msg *hif = (struct hif_msg *)skb->data;
struct hif_req_tx *req = (struct hif_req_tx *)hif->body; struct hif_req_tx *req = (struct hif_req_tx *)hif->body;
struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface); struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface);
unsigned int offset = sizeof(struct hif_req_tx) + unsigned int offset = sizeof(struct hif_msg) +
sizeof(struct hif_msg) + sizeof(struct hif_req_tx) +
req->data_flags.fc_offset; req->data_flags.fc_offset;
WARN_ON(!wvif); WARN_ON(!wvif);
skb_pull(skb, offset); skb_pull(skb, offset);
......
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