]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
iwlwifi: remove notif_missed_beacons variable
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 29 May 2008 08:34:53 +0000 (16:34 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:19 +0000 (15:00 -0400)
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: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.h
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c

index 835c5b4320e9ce8b276846be201d75bdc07d60ca..a9b3edad38682bdd8239148e63f2f48b3b2e59a9 100644 (file)
@@ -835,8 +835,6 @@ struct iwl3945_priv {
 
        u8 mac80211_registered;
 
-       u32 notif_missed_beacons;
-
        /* Rx'd packet timing information */
        u32 last_beacon_time;
        u64 last_tsf;
index 1ee8121207bf09927d3e31ef59c0813ddf824ba4..342c6a5983bbf589c964428305280f32ba7336ad 100644 (file)
@@ -1125,8 +1125,6 @@ struct iwl_priv {
 
        u8 mac80211_registered;
 
-       u32 notif_missed_beacons;
-
        /* Rx'd packet timing information */
        u32 last_beacon_time;
        u64 last_tsf;
index e0f52e264418a5dfad706f1f7081745b562e2df3..244bfe5c751fe291188bbd618a5389fcf8ba969e 100644 (file)
@@ -5847,9 +5847,6 @@ static void iwl3945_alive_start(struct iwl3945_priv *priv)
        /* Configure the adapter for unassociated operation */
        iwl3945_commit_rxon(priv);
 
-       /* At this point, the NIC is initialized and operational */
-       priv->notif_missed_beacons = 0;
-
        iwl3945_reg_txpower_periodic(priv);
 
        iwl3945_led_register(priv);
index d7f9321923a2f51464818aa52d6a13b87a5bc26e..6785200cf236ea5e45bfee381d3d632e3c4fa03e 100644 (file)
@@ -3314,8 +3314,6 @@ static void iwl4965_alive_start(struct iwl_priv *priv)
        iwl4965_commit_rxon(priv);
 
        /* At this point, the NIC is initialized and operational */
-       priv->notif_missed_beacons = 0;
-
        iwl4965_rf_kill_ct_config(priv);
 
        iwl_leds_register(priv);