diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 16336480c631..d019f0d3a0fe 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -557,8 +557,10 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, | |||
557 | WIPHY_FLAG_4ADDR_AP | | 557 | WIPHY_FLAG_4ADDR_AP | |
558 | WIPHY_FLAG_4ADDR_STATION | | 558 | WIPHY_FLAG_4ADDR_STATION | |
559 | WIPHY_FLAG_REPORTS_OBSS | | 559 | WIPHY_FLAG_REPORTS_OBSS | |
560 | WIPHY_FLAG_OFFCHAN_TX | | 560 | WIPHY_FLAG_OFFCHAN_TX; |
561 | WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; | 561 | |
562 | if (ops->remain_on_channel) | ||
563 | wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; | ||
562 | 564 | ||
563 | wiphy->features = NL80211_FEATURE_SK_TX_STATUS | | 565 | wiphy->features = NL80211_FEATURE_SK_TX_STATUS | |
564 | NL80211_FEATURE_HT_IBSS; | 566 | NL80211_FEATURE_HT_IBSS; |