diff options
-rw-r--r-- | net/mac80211/ht.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index e0a396bdf883..0fd9c2a7f242 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c | |||
@@ -47,7 +47,9 @@ void ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata, | |||
47 | int i; | 47 | int i; |
48 | 48 | ||
49 | if (sdata->vif.type != NL80211_IFTYPE_STATION) { | 49 | if (sdata->vif.type != NL80211_IFTYPE_STATION) { |
50 | WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION); | 50 | /* AP interfaces call this code when adding new stations, |
51 | * so just silently ignore non station interfaces. | ||
52 | */ | ||
51 | return; | 53 | return; |
52 | } | 54 | } |
53 | 55 | ||