diff options
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/fw.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/fw.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/fw.c b/drivers/net/wireless/ath/carl9170/fw.c index aaebecd19e59..63fd9af3fd39 100644 --- a/drivers/net/wireless/ath/carl9170/fw.c +++ b/drivers/net/wireless/ath/carl9170/fw.c | |||
@@ -336,8 +336,12 @@ static int carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len) | |||
336 | if (SUPP(CARL9170FW_WLANTX_CAB)) { | 336 | if (SUPP(CARL9170FW_WLANTX_CAB)) { |
337 | if_comb_types |= | 337 | if_comb_types |= |
338 | BIT(NL80211_IFTYPE_AP) | | 338 | BIT(NL80211_IFTYPE_AP) | |
339 | BIT(NL80211_IFTYPE_MESH_POINT) | | ||
340 | BIT(NL80211_IFTYPE_P2P_GO); | 339 | BIT(NL80211_IFTYPE_P2P_GO); |
340 | |||
341 | #ifdef CONFIG_MAC80211_MESH | ||
342 | if_comb_types |= | ||
343 | BIT(NL80211_IFTYPE_MESH_POINT); | ||
344 | #endif /* CONFIG_MAC80211_MESH */ | ||
341 | } | 345 | } |
342 | } | 346 | } |
343 | 347 | ||