summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-06 22:24:00 +0100
committerJohannes Berg <johannes.berg@intel.com>2014-01-07 23:16:39 +0100
commit685328b296acc810541d2532957912690273c64a (patch)
tree2d7455cae4bf9c8ae3525a3284b964f5dd0895da /drivers/net/wireless/p54/main.c
parentmac80211: allow to set smps mode to OFF in AP mode (diff)
downloadlinux-685328b296acc810541d2532957912690273c64a.tar.xz
linux-685328b296acc810541d2532957912690273c64a.zip
mac80211: remove channel_change_time
This value is no longer used by mac80211, and practically no driver ever set it to a correct value anyway, so remove it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/p54/main.c')
-rw-r--r--drivers/net/wireless/p54/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c
index 067e6f2fd050..b61fefad2205 100644
--- a/drivers/net/wireless/p54/main.c
+++ b/drivers/net/wireless/p54/main.c
@@ -757,7 +757,6 @@ struct ieee80211_hw *p54_init_common(size_t priv_data_len)
BIT(NL80211_IFTYPE_AP) |
BIT(NL80211_IFTYPE_MESH_POINT);
- dev->channel_change_time = 1000; /* TODO: find actual value */
priv->beacon_req_id = cpu_to_le32(0);
priv->tx_stats[P54_QUEUE_BEACON].limit = 1;
priv->tx_stats[P54_QUEUE_FWSCAN].limit = 1;