Commit 84df9d31 authored by Tomas Winkler's avatar Tomas Winkler Committed by John W. Linville

iwlwifi: remove notif_missed_beacons variable

This patch removes notif_missed_beacons from priv since it was never
used. Missed beacons notification will have only meaning if roaming
will be implemented in mac80211.
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c317fee3
...@@ -835,8 +835,6 @@ struct iwl3945_priv { ...@@ -835,8 +835,6 @@ struct iwl3945_priv {
u8 mac80211_registered; u8 mac80211_registered;
u32 notif_missed_beacons;
/* Rx'd packet timing information */ /* Rx'd packet timing information */
u32 last_beacon_time; u32 last_beacon_time;
u64 last_tsf; u64 last_tsf;
......
...@@ -1125,8 +1125,6 @@ struct iwl_priv { ...@@ -1125,8 +1125,6 @@ struct iwl_priv {
u8 mac80211_registered; u8 mac80211_registered;
u32 notif_missed_beacons;
/* Rx'd packet timing information */ /* Rx'd packet timing information */
u32 last_beacon_time; u32 last_beacon_time;
u64 last_tsf; u64 last_tsf;
......
...@@ -5847,9 +5847,6 @@ static void iwl3945_alive_start(struct iwl3945_priv *priv) ...@@ -5847,9 +5847,6 @@ static void iwl3945_alive_start(struct iwl3945_priv *priv)
/* Configure the adapter for unassociated operation */ /* Configure the adapter for unassociated operation */
iwl3945_commit_rxon(priv); iwl3945_commit_rxon(priv);
/* At this point, the NIC is initialized and operational */
priv->notif_missed_beacons = 0;
iwl3945_reg_txpower_periodic(priv); iwl3945_reg_txpower_periodic(priv);
iwl3945_led_register(priv); iwl3945_led_register(priv);
......
...@@ -3314,8 +3314,6 @@ static void iwl4965_alive_start(struct iwl_priv *priv) ...@@ -3314,8 +3314,6 @@ static void iwl4965_alive_start(struct iwl_priv *priv)
iwl4965_commit_rxon(priv); iwl4965_commit_rxon(priv);
/* At this point, the NIC is initialized and operational */ /* At this point, the NIC is initialized and operational */
priv->notif_missed_beacons = 0;
iwl4965_rf_kill_ct_config(priv); iwl4965_rf_kill_ct_config(priv);
iwl_leds_register(priv); iwl_leds_register(priv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment