diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index a0051928d298..ff8635f0ed45 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -1110,16 +1110,6 @@ static void iwl_setup_rx_handlers(struct iwl_priv *priv) | |||
1110 | priv->cfg->ops->lib->rx_handler_setup(priv); | 1110 | priv->cfg->ops->lib->rx_handler_setup(priv); |
1111 | } | 1111 | } |
1112 | 1112 | ||
1113 | /* | ||
1114 | * this should be called while priv->lock is locked | ||
1115 | */ | ||
1116 | static void __iwl_rx_replenish(struct iwl_priv *priv) | ||
1117 | { | ||
1118 | iwl_rx_allocate(priv); | ||
1119 | iwl_rx_queue_restock(priv); | ||
1120 | } | ||
1121 | |||
1122 | |||
1123 | /** | 1113 | /** |
1124 | * iwl_rx_handle - Main entry function for receiving responses from uCode | 1114 | * iwl_rx_handle - Main entry function for receiving responses from uCode |
1125 | * | 1115 | * |
@@ -1228,7 +1218,7 @@ void iwl_rx_handle(struct iwl_priv *priv) | |||
1228 | count++; | 1218 | count++; |
1229 | if (count >= 8) { | 1219 | if (count >= 8) { |
1230 | priv->rxq.read = i; | 1220 | priv->rxq.read = i; |
1231 | __iwl_rx_replenish(priv); | 1221 | iwl_rx_queue_restock(priv); |
1232 | count = 0; | 1222 | count = 0; |
1233 | } | 1223 | } |
1234 | } | 1224 | } |