IPW_DEBUG_WARNING( 
printk(KERN_WARNING DRV_NAME ": " 
static inline void isr_rx(struct ipw2100_priv *priv, int i,			  struct ieee80211_rx_stats *stats){	struct ipw2100_status *status = &priv->status_queue.drv[i];	struct ipw2100_rx_packet *packet = &priv->rx_buffers[i];	IPW_DEBUG_RX("Handler...\n");	if (unlikely(status->frame_size > skb_tailroom(packet->skb))) {		IPW_DEBUG_INFO("%s: frame_size (%u) > skb_tailroom (%u)!"			       "  Dropping.\n",			       priv->net_dev->name,			       status->frame_size, skb_tailroom(packet->skb));		priv->ieee->stats.rx_errors++;		return;	}	if (unlikely(!netif_running(priv->net_dev))) {		priv->ieee->stats.rx_errors++;		priv->wstats.discard.misc++;		IPW_DEBUG_DROP("Dropping packet while interface is not up.\n");		return;	}	if (unlikely(priv->ieee->iw_mode == IW_MODE_MONITOR &&		     status->flags & IPW_STATUS_FLAG_CRC_ERROR)) {		IPW_DEBUG_RX("CRC error in packet.  Dropping.\n");		priv->ieee->stats.rx_errors++;		return;	}	if (unlikely(priv->ieee->iw_mode != IW_MODE_MONITOR &&		!(priv->status & STATUS_ASSOCIATED))) {		IPW_DEBUG_DROP("Dropping packet while not associated.\n");		priv->wstats.discard.misc++;		return;	}	pci_unmap_single(priv->pci_dev,			 packet->dma_addr,			 sizeof(struct ipw2100_rx),			 PCI_DMA_FROMDEVICE);	skb_put(packet->skb, status->frame_size);#ifdef CONFIG_IPW2100_RX_DEBUG	/* Make a copy of the frame so we can dump it to the logs if	 * ieee80211_rx fails */	memcpy(packet_data, packet->skb->data,	       min_t(u32, status->frame_size, IPW_RX_NIC_BUFFER_LENGTH));#endif	if (!ieee80211_rx(priv->ieee, packet->skb, stats)) {#ifdef CONFIG_IPW2100_RX_DEBUG		IPW_DEBUG_DROP("%s: Non consumed packet:\n",			       priv->net_dev->name);		printk_buf(IPW_DL_DROP, packet_data, status->frame_size);#endif		priv->ieee->stats.rx_errors++;		/* ieee80211_rx failed, so it didn't free the SKB */		dev_kfree_skb_any(packet->skb);		packet->skb = NULL;	}	/* We need to allocate a new SKB and attach it to the RDB. */	if (unlikely(ipw2100_alloc_skb(priv, packet))) {		IPW_DEBUG_WARNING(			"%s: Unable to allocate SKB onto RBD ring - disabling "			"adapter.\n", priv->net_dev->name);		/* TODO: schedule adapter shutdown */		IPW_DEBUG_INFO("TODO: Shutdown adapter...\n");	}	/* Update the RDB entry */	priv->rx_queue.drv[i].host_addr = packet->dma_addr;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/797b4f7652a4dcf06bdf6a8c870991acdf56c03d/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c