summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/p54/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-07 01:24:00 +0400
committerJohannes Berg <johannes.berg@intel.com>2014-01-08 02:16:39 +0400
commit685328b296acc810541d2532957912690273c64a (patch)
tree2d7455cae4bf9c8ae3525a3284b964f5dd0895da /drivers/net/wireless/p54/main.c
parent349b196044d38a3bf5be2b4dd2fe28ca2f12a258 (diff)
downloadlinux-685328b296acc810541d2532957912690273c64a.tar.xz
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;