mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ath6kl: Add wmi meta data information only it is available
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
8af123e8ee
commit
3ce6ff501c
1 changed files with 5 additions and 3 deletions
|
@ -167,9 +167,11 @@ int ath6kl_wmi_data_hdr_add(struct wmi *wmi, struct sk_buff *skb,
|
||||||
if (WARN_ON(skb == NULL))
|
if (WARN_ON(skb == NULL))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
ret = ath6kl_wmi_meta_add(wmi, skb, &meta_ver, tx_meta_info);
|
if (tx_meta_info) {
|
||||||
if (ret)
|
ret = ath6kl_wmi_meta_add(wmi, skb, &meta_ver, tx_meta_info);
|
||||||
return ret;
|
if (ret)
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
skb_push(skb, sizeof(struct wmi_data_hdr));
|
skb_push(skb, sizeof(struct wmi_data_hdr));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue