mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 08:17:46 +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))
|
||||
return -EINVAL;
|
||||
|
||||
ret = ath6kl_wmi_meta_add(wmi, skb, &meta_ver, tx_meta_info);
|
||||
if (ret)
|
||||
return ret;
|
||||
if (tx_meta_info) {
|
||||
ret = ath6kl_wmi_meta_add(wmi, skb, &meta_ver, tx_meta_info);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
skb_push(skb, sizeof(struct wmi_data_hdr));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue