Commit 09af8f85 authored by Michal Kazior's avatar Michal Kazior Committed by Kalle Valo

ath10k: silent warning in IBSS mode

There is no TIM IE generated in IBSS beacons by
mac80211.
Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent cba4ca75
...@@ -501,8 +501,8 @@ static void ath10k_wmi_update_tim(struct ath10k *ar, ...@@ -501,8 +501,8 @@ static void ath10k_wmi_update_tim(struct ath10k *ar,
ie = (u8 *)cfg80211_find_ie(WLAN_EID_TIM, ies, ie = (u8 *)cfg80211_find_ie(WLAN_EID_TIM, ies,
(u8 *)skb_tail_pointer(bcn) - ies); (u8 *)skb_tail_pointer(bcn) - ies);
if (!ie) { if (!ie) {
/* highly unlikely for mac80211 */ if (arvif->vdev_type != WMI_VDEV_TYPE_IBSS)
ath10k_warn("no tim ie found;\n"); ath10k_warn("no tim ie found;\n");
return; return;
} }
......
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