diff options
author | Eliad Peller <eliad@wizery.com> | 2014-09-10 07:07:36 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-09-11 07:37:02 -0400 |
commit | 0d8614b4b926d0f657d15d7eb5125bcb24b9fd41 (patch) | |
tree | 144edc757011a4799f32d4e27dbf5c00124dfeba /drivers/net/wireless/iwlegacy | |
parent | f69931748730763f8c8095fa88394cf9af75a578 (diff) |
mac80211: replace SMPS hw flags with wiphy feature bits
Use the new static_smps / dynamic_smps feature bits
instead of mac80211-internal hw flags.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy')
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index 3dcbe2cd2b28..9f930a0cba09 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c | |||
@@ -5757,9 +5757,8 @@ il4965_mac_setup_register(struct il_priv *il, u32 max_probe_length) | |||
5757 | IEEE80211_HW_REPORTS_TX_ACK_STATUS | IEEE80211_HW_SUPPORTS_PS | | 5757 | IEEE80211_HW_REPORTS_TX_ACK_STATUS | IEEE80211_HW_SUPPORTS_PS | |
5758 | IEEE80211_HW_SUPPORTS_DYNAMIC_PS; | 5758 | IEEE80211_HW_SUPPORTS_DYNAMIC_PS; |
5759 | if (il->cfg->sku & IL_SKU_N) | 5759 | if (il->cfg->sku & IL_SKU_N) |
5760 | hw->flags |= | 5760 | hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS | |
5761 | IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS | | 5761 | NL80211_FEATURE_STATIC_SMPS; |
5762 | IEEE80211_HW_SUPPORTS_STATIC_SMPS; | ||
5763 | 5762 | ||
5764 | hw->sta_data_size = sizeof(struct il_station_priv); | 5763 | hw->sta_data_size = sizeof(struct il_station_priv); |
5765 | hw->vif_data_size = sizeof(struct il_vif_priv); | 5764 | hw->vif_data_size = sizeof(struct il_vif_priv); |