diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 34790413eadd..2238c9f2018c 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -1373,7 +1373,7 @@ static void iwl3945_rx_handle(struct iwl_priv *priv) | |||
1373 | fill_rx = 1; | 1373 | fill_rx = 1; |
1374 | /* Rx interrupt, but nothing sent from uCode */ | 1374 | /* Rx interrupt, but nothing sent from uCode */ |
1375 | if (i == r) | 1375 | if (i == r) |
1376 | IWL_DEBUG(priv, IWL_DL_RX | IWL_DL_ISR, "r = %d, i = %d\n", r, i); | 1376 | IWL_DEBUG_RX(priv, "r = %d, i = %d\n", r, i); |
1377 | 1377 | ||
1378 | while (i != r) { | 1378 | while (i != r) { |
1379 | rxb = rxq->queue[i]; | 1379 | rxb = rxq->queue[i]; |
@@ -1404,15 +1404,13 @@ static void iwl3945_rx_handle(struct iwl_priv *priv) | |||
1404 | * handle those that need handling via function in | 1404 | * handle those that need handling via function in |
1405 | * rx_handlers table. See iwl3945_setup_rx_handlers() */ | 1405 | * rx_handlers table. See iwl3945_setup_rx_handlers() */ |
1406 | if (priv->rx_handlers[pkt->hdr.cmd]) { | 1406 | if (priv->rx_handlers[pkt->hdr.cmd]) { |
1407 | IWL_DEBUG(priv, IWL_DL_HCMD | IWL_DL_RX | IWL_DL_ISR, | 1407 | IWL_DEBUG_RX(priv, "r = %d, i = %d, %s, 0x%02x\n", r, i, |
1408 | "r = %d, i = %d, %s, 0x%02x\n", r, i, | ||
1409 | get_cmd_string(pkt->hdr.cmd), pkt->hdr.cmd); | 1408 | get_cmd_string(pkt->hdr.cmd), pkt->hdr.cmd); |
1410 | priv->rx_handlers[pkt->hdr.cmd] (priv, rxb); | 1409 | priv->rx_handlers[pkt->hdr.cmd] (priv, rxb); |
1411 | priv->isr_stats.rx_handlers[pkt->hdr.cmd]++; | 1410 | priv->isr_stats.rx_handlers[pkt->hdr.cmd]++; |
1412 | } else { | 1411 | } else { |
1413 | /* No handling needed */ | 1412 | /* No handling needed */ |
1414 | IWL_DEBUG(priv, IWL_DL_HCMD | IWL_DL_RX | IWL_DL_ISR, | 1413 | IWL_DEBUG_RX(priv, "r %d i %d No handler needed for %s, 0x%02x\n", |
1415 | "r %d i %d No handler needed for %s, 0x%02x\n", | ||
1416 | r, i, get_cmd_string(pkt->hdr.cmd), | 1414 | r, i, get_cmd_string(pkt->hdr.cmd), |
1417 | pkt->hdr.cmd); | 1415 | pkt->hdr.cmd); |
1418 | } | 1416 | } |