struct ieee80211_hdr *hdr; 
struct ieee80211_hdr_4addr *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 ieee80211_hdr *hdr;	iface = netdev_priv(dev);	local = iface->local;	if (skb->len < 16)		goto drop;	local->stats.rx_packets++;	hdr = (struct ieee80211_hdr *) skb->data;	fc = le16_to_cpu(hdr->frame_ctl);	if (local->ap->ap_policy == AP_OTHER_AP_SKIP_ALL &&	    WLAN_FC_GET_TYPE(fc) == IEEE80211_FTYPE_MGMT &&	    WLAN_FC_GET_STYPE(fc) == IEEE80211_STYPE_BEACON)		goto drop;	skb->protocol = __constant_htons(ETH_P_HOSTAP);	handle_ap_item(local, skb, rx_stats);	return; drop:	dev_kfree_skb(skb);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d041674d62e1ad565f2fb6d53ae80b31d6656033/hostap_ap.c/clean/drivers/net/wireless/hostap/hostap_ap.c