mac80211: fix masking nested A-MSDU support for mesh
CONFIG_MAC80211_MESH isn't defined for this package, rendering the patch
useless. Match protecting the access of sta_info.mesh with the very same
define declaring it.
Fixes 45109f69a6
"mac80211: fix compile error when mesh is disabled"
Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
parent
e4b9538ddb
commit
8246ab6a27
|
@ -24,7 +24,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
|
|||
|
||||
- capab = u16_encode_bits(amsdu, IEEE80211_ADDBA_PARAM_AMSDU_MASK);
|
||||
+ capab = 0;
|
||||
+#ifdef CONFIG_MAC80211_MESH
|
||||
+#ifdef CPTCFG_MAC80211_MESH
|
||||
+ if (!sta->mesh)
|
||||
+#endif
|
||||
+ capab = u16_encode_bits(amsdu, IEEE80211_ADDBA_PARAM_AMSDU_MASK);
|
||||
|
|
Loading…
Reference in New Issue