ath10k: silent warning in IBSS mode
There is no TIM IE generated in IBSS beacons by mac80211. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
cba4ca7553
commit
09af8f85c6
@ -501,8 +501,8 @@ static void ath10k_wmi_update_tim(struct ath10k *ar,
|
||||
ie = (u8 *)cfg80211_find_ie(WLAN_EID_TIM, ies,
|
||||
(u8 *)skb_tail_pointer(bcn) - ies);
|
||||
if (!ie) {
|
||||
/* highly unlikely for mac80211 */
|
||||
ath10k_warn("no tim ie found;\n");
|
||||
if (arvif->vdev_type != WMI_VDEV_TYPE_IBSS)
|
||||
ath10k_warn("no tim ie found;\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user