projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba4ca7
)
ath10k: silent warning in IBSS mode
author
Michal Kazior
<michal.kazior@tieto.com>
Fri, 5 Jul 2013 13:15:08 +0000
(16:15 +0300)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:17 +0000
(18:01 +0300)
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>
drivers/net/wireless/ath/ath10k/wmi.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/wmi.c
b/drivers/net/wireless/ath/ath10k/wmi.c
index 7d4b7987422d7b1e19b6a87c0a68e2db8157992a..1b5312d1f0ce7115a6fca656392052f173bfc8fc 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/wmi.c
+++ b/
drivers/net/wireless/ath/ath10k/wmi.c
@@
-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;
}