aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-6000.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-03-04 16:38:58 -0500
committerReinette Chatre <reinette.chatre@intel.com>2010-03-19 16:41:25 -0400
commitbeac5498b792ed8420885ee23e8d4f2885ee2d13 (patch)
treed89810c6e190ec712c4da9f9cb36fbd525663d9b /drivers/net/wireless/iwlwifi/iwl-6000.c
parentb74e31a9bc1013e69b85b139072485dc153453dd (diff)
iwlwifi: move plcp check to separated function
Move the plcp error checking into stand alone function and pointed by ops to accommodate devices not needing this recovery. Signed-off-by: Trieu 'Andrew' Nguyen <trieux.t.nguyen@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-6000.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c
index 4fbc38cfd911..b1f0e5c7e287 100644
--- a/drivers/net/wireless/iwlwifi/iwl-6000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-6000.c
@@ -279,6 +279,7 @@ static struct iwl_lib_ops iwl6000_lib = {
279 }, 279 },
280 .add_bcast_station = iwl_add_bcast_station, 280 .add_bcast_station = iwl_add_bcast_station,
281 .recover_from_tx_stall = iwl_bg_monitor_recover, 281 .recover_from_tx_stall = iwl_bg_monitor_recover,
282 .recover_from_statistics = iwl_recover_from_statistics,
282}; 283};
283 284
284static const struct iwl_ops iwl6000_ops = { 285static const struct iwl_ops iwl6000_ops = {
@@ -345,6 +346,7 @@ static struct iwl_lib_ops iwl6050_lib = {
345 }, 346 },
346 .add_bcast_station = iwl_add_bcast_station, 347 .add_bcast_station = iwl_add_bcast_station,
347 .recover_from_tx_stall = iwl_bg_monitor_recover, 348 .recover_from_tx_stall = iwl_bg_monitor_recover,
349 .recover_from_statistics = iwl_recover_from_statistics,
348}; 350};
349 351
350static const struct iwl_ops iwl6050_ops = { 352static const struct iwl_ops iwl6050_ops = {