diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-03-04 16:38:58 -0500 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-03-19 16:41:25 -0400 |
commit | beac5498b792ed8420885ee23e8d4f2885ee2d13 (patch) | |
tree | d89810c6e190ec712c4da9f9cb36fbd525663d9b /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | b74e31a9bc1013e69b85b139072485dc153453dd (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.c | 2 |
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 | ||
284 | static const struct iwl_ops iwl6000_ops = { | 285 | static 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 | ||
350 | static const struct iwl_ops iwl6050_ops = { | 352 | static const struct iwl_ops iwl6050_ops = { |