]> Pileus Git - ~andy/linux/commitdiff
mac80211_hwsim: claim uAPSD support
authorJohannes Berg <johannes.berg@intel.com>
Sun, 14 Jul 2013 20:38:33 +0000 (23:38 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 06:58:16 +0000 (09:58 +0300)
Since mac80211 does everything, we can just claim it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c

index 11adae804564b1e28d7d916ac04106df24011209..0a439f8c887c12e11e02912be9fc0f2170384b91 100644 (file)
@@ -2309,7 +2309,8 @@ static int __init init_mac80211_hwsim(void)
                        hw->flags |= IEEE80211_HW_SUPPORTS_RC_TABLE;
 
                hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS |
-                                   WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
+                                   WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL |
+                                   WIPHY_FLAG_AP_UAPSD;
 
                /* ask mac80211 to reserve space for magic */
                hw->vif_data_size = sizeof(struct hwsim_vif_priv);