mac80211: don't always advertise remain-on-channel
[deliverable/linux.git] / drivers / net / wireless / mac80211_hwsim.c
index b7ce6a6e355f68c30d2c55cb772dfd8d5414af57..8737f4e52cbcfa4e2df62d1ce5195f40dcb6e06c 100644 (file)
@@ -1791,7 +1791,8 @@ static int __init init_mac80211_hwsim(void)
                            IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS |
                            IEEE80211_HW_AMPDU_AGGREGATION;
 
-               hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS;
+               hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS |
+                                   WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
 
                /* ask mac80211 to reserve space for magic */
                hw->vif_data_size = sizeof(struct hwsim_vif_priv);
This page took 0.024907 seconds and 5 git commands to generate.