diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 468829143991..0054bba08ce1 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -491,6 +491,10 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
491 | else if (local->hw.flags & IEEE80211_HW_SIGNAL_UNSPEC) | 491 | else if (local->hw.flags & IEEE80211_HW_SIGNAL_UNSPEC) |
492 | local->hw.wiphy->signal_type = CFG80211_SIGNAL_TYPE_UNSPEC; | 492 | local->hw.wiphy->signal_type = CFG80211_SIGNAL_TYPE_UNSPEC; |
493 | 493 | ||
494 | WARN((local->hw.flags & IEEE80211_HW_SUPPORTS_UAPSD) | ||
495 | && (local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK), | ||
496 | "U-APSD not supported with HW_PS_NULLFUNC_STACK\n"); | ||
497 | |||
494 | /* | 498 | /* |
495 | * Calculate scan IE length -- we need this to alloc | 499 | * Calculate scan IE length -- we need this to alloc |
496 | * memory and to subtract from the driver limit. It | 500 | * memory and to subtract from the driver limit. It |