diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-11-11 06:48:42 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-12-15 06:34:45 -0500 |
commit | 848955ccf0bdf42fff33e021a76f6daec98fe59b (patch) | |
tree | f4d17dc5c3f732ad016152ba509b4bc681526ec2 /net/mac80211/main.c | |
parent | 4bcc56bb3a9622e877772598d1cac124266b2b8a (diff) |
mac80211: move U-APSD enablement to vif flags
In order to let drivers have more dynamic U-APSD support,
move the enablement flag to the virtual interface driver
flags. This lets drivers not only set it up differently
for different interfaces, but also enable/disable on the
fly if needed.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 6ab99da38db9..d9ce33663c73 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -916,10 +916,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
916 | } | 916 | } |
917 | } | 917 | } |
918 | 918 | ||
919 | WARN((local->hw.flags & IEEE80211_HW_SUPPORTS_UAPSD) | ||
920 | && (local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK), | ||
921 | "U-APSD not supported with HW_PS_NULLFUNC_STACK\n"); | ||
922 | |||
923 | /* | 919 | /* |
924 | * Calculate scan IE length -- we need this to alloc | 920 | * Calculate scan IE length -- we need this to alloc |
925 | * memory and to subtract from the driver limit. It | 921 | * memory and to subtract from the driver limit. It |