struct hostap_ieee80211_hdr *hdr; 
struct ieee80211_hdr *hdr; 
void hostap_rx(struct net_device *dev, struct sk_buff *skb,	       struct hostap_80211_rx_status *rx_stats){	struct hostap_interface *iface;	local_info_t *local;	u16 fc;	struct hostap_ieee80211_hdr *hdr;	iface = netdev_priv(dev);	local = iface->local;	if (skb->len < 16)		goto drop;	local->stats.rx_packets++;	hdr = (struct hostap_ieee80211_hdr *) skb->data;	fc = le16_to_cpu(hdr->frame_control);	if (local->ap->ap_policy == AP_OTHER_AP_SKIP_ALL &&	    HOSTAP_FC_GET_TYPE(fc) == WLAN_FC_TYPE_MGMT &&	    HOSTAP_FC_GET_STYPE(fc) == WLAN_FC_STYPE_BEACON)		goto drop;	skb->protocol = __constant_htons(ETH_P_HOSTAP);	handle_ap_item(local, skb, rx_stats);	return; drop:	dev_kfree_skb(skb);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/c0f72ca8e4f1b459b5582c1c8dcaf7e53151f069/hostap_ap.c/clean/drivers/net/wireless/hostap/hostap_ap.c