prism2_transmit_cb, (void *) idx); 
prism2_transmit_cb, (long) idx); 
static int prism2_transmit(struct net_device *dev, int idx){	struct hostap_interface *iface;	local_info_t *local;	int res;	iface = netdev_priv(dev);	local = iface->local;	/* The driver tries to stop netif queue so that there would not be	 * more than one attempt to transmit frames going on; check that this	 * is really the case */	if (test_and_set_bit(HOSTAP_BITS_TRANSMIT, &local->bits)) {		printk(KERN_DEBUG "%s: driver bug - prism2_transmit() called "		       "when previous TX was pending\n", dev->name);		return -1;	}	/* stop the queue for the time that transmit is pending */	netif_stop_queue(dev);	/* transmit packet */	res = hfa384x_cmd_callback(		dev,		HFA384X_CMDCODE_TRANSMIT | HFA384X_CMD_TX_RECLAIM,		local->txfid[idx],		prism2_transmit_cb, (void *) idx);	if (res) {		struct net_device_stats *stats;		printk(KERN_DEBUG "%s: prism2_transmit: CMDCODE_TRANSMIT "		       "failed (res=%d)\n", dev->name, res);		stats = hostap_get_stats(dev);		stats->tx_dropped++;		netif_wake_queue(dev);		return -1;	}	dev->trans_start = jiffies;	/* Since we did not wait for command completion, the card continues	 * to process on the background and we will finish handling when	 * command completion event is handled (prism2_cmd_ev() function) */	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b15eff2632be3fcea68e01ba7f12e26a731e3157/hostap_hw.c/buggy/drivers/net/wireless/hostap/hostap_hw.c