diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-06-30 05:23:10 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-30 17:37:40 -0400 |
commit | 4b8817b2a06958efd868677880334229fe5a96cf (patch) | |
tree | 1a9cef9b89433fccecaeba54d64025cb617baa75 /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | 1781a07fbe9cce3dc1697288a5edd260ea7edc02 (diff) |
iwlwifi: remove useless network and duplicate checking
The iwlwifi drivers go to great lengths to avoid passing packets to
mac80211 they think shouldn't go there, while mac80211 can (of course!)
handle them very well.
Especially in the case of duplicate packets this is interesting
because it's such a performance hog (especially for IBSS networks)
while mac80211 does that work on the side without much effort.
This patch removes all that and leaves only what is absolutely
necessary for the hardware.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 6ca946051b82..95f7320fc9dd 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -846,7 +846,6 @@ EXPORT_SYMBOL(iwl_setup_mac); | |||
846 | int iwl_init_drv(struct iwl_priv *priv) | 846 | int iwl_init_drv(struct iwl_priv *priv) |
847 | { | 847 | { |
848 | int ret; | 848 | int ret; |
849 | int i; | ||
850 | 849 | ||
851 | priv->retry_rate = 1; | 850 | priv->retry_rate = 1; |
852 | priv->ibss_beacon = NULL; | 851 | priv->ibss_beacon = NULL; |
@@ -857,9 +856,6 @@ int iwl_init_drv(struct iwl_priv *priv) | |||
857 | spin_lock_init(&priv->hcmd_lock); | 856 | spin_lock_init(&priv->hcmd_lock); |
858 | spin_lock_init(&priv->lq_mngr.lock); | 857 | spin_lock_init(&priv->lq_mngr.lock); |
859 | 858 | ||
860 | for (i = 0; i < IWL_IBSS_MAC_HASH_SIZE; i++) | ||
861 | INIT_LIST_HEAD(&priv->ibss_mac_hash[i]); | ||
862 | |||
863 | INIT_LIST_HEAD(&priv->free_frames); | 859 | INIT_LIST_HEAD(&priv->free_frames); |
864 | 860 | ||
865 | mutex_init(&priv->mutex); | 861 | mutex_init(&priv->mutex); |