[Prism54-devel] Simple compile fix

Michael Mueller malware@t-online.de
Fri, 31 Oct 2003 23:12:23 +0100


Hi ppl,

here a simple compile fix.

Michael

--- linux-2.4.23-pre9-opti-prism/drivers/net/wireless/prism54/isl_ioctl.c	2003-10-31 22:29:49.000000000 +0100
+++ linux-2.4.23-pre9/drivers/net/wireless/prism54/isl_ioctl.c	2003-10-31 22:06:38.000000000 +0100
@@ -2185,8 +2185,8 @@
     DEBUG(SHOW_FUNCTION_CALLS, "isl_ioctl cmd %x \n", cmd);
 
     DEBUG(SHOW_QUEUE_INDEXES, "Mgmt Tx Qs: free[%i] shdw[%i]\n",
-        islpci_queue_size(device, &private_config->mgmt_tx_freeq),
-        islpci_queue_size(device, &private_config->mgmt_tx_shadowq));
+        islpci_queue_size(&private_config->mgmt_tx_freeq),
+        islpci_queue_size(&private_config->mgmt_tx_shadowq));
 #endif
 
     switch (cmd)
@@ -2653,11 +2653,11 @@
 #if VERBOSE > SHOW_ERROR_MESSAGES
     DEBUG(SHOW_QUEUE_INDEXES,
         "Mgmt Rx Qs: f[%i] s[%i] i[%i] t[%i] p[%i]\n",
-        islpci_queue_size(device, &private_config->mgmt_rx_freeq),
-        islpci_queue_size(device, &private_config->mgmt_rx_shadowq),
-        islpci_queue_size(device, &private_config->ioctl_rx_queue),
-        islpci_queue_size(device, &private_config->trap_rx_queue),
-        islpci_queue_size(device, &private_config->pimfor_rx_queue));
+        islpci_queue_size(&private_config->mgmt_rx_freeq),
+        islpci_queue_size(&private_config->mgmt_rx_shadowq),
+        islpci_queue_size(&private_config->ioctl_rx_queue),
+        islpci_queue_size(&private_config->trap_rx_queue),
+        islpci_queue_size(&private_config->pimfor_rx_queue));
 #endif
 
     return error;