struct hostap_ieee80211_hdr *hdr; 
struct ieee80211_hdr *hdr; 
hostap_rx_frame_decrypt(local_info_t *local, struct sk_buff *skb,			struct ieee80211_crypt_data *crypt){	struct hostap_ieee80211_hdr *hdr;	int res, hdrlen;	if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL)		return 0;	hdr = (struct hostap_ieee80211_hdr *) skb->data;	hdrlen = hostap_80211_get_hdrlen(le16_to_cpu(hdr->frame_control));	if (local->tkip_countermeasures &&	    strcmp(crypt->ops->name, "TKIP") == 0) {		if (net_ratelimit()) {			printk(KERN_DEBUG "%s: TKIP countermeasures: dropped "			       "received packet from " MACSTR "\n",			       local->dev->name, MAC2STR(hdr->addr2));		}		return -1;	}	atomic_inc(&crypt->refcnt);	res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv);	atomic_dec(&crypt->refcnt);	if (res < 0) {		printk(KERN_DEBUG "%s: decryption failed (SA=" MACSTR		       ") res=%d\n",		       local->dev->name, MAC2STR(hdr->addr2), res);		local->comm_tallies.rx_discards_wep_undecryptable++;		return -1;	}	return res;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/c0f72ca8e4f1b459b5582c1c8dcaf7e53151f069/hostap_80211_rx.c/buggy/drivers/net/wireless/hostap/hostap_80211_rx.c