hdr = (struct hostap_ieee80211_hdr *) skb_put(skb, 16); 
hdr = (struct ieee80211_hdr *) skb_put(skb, 16); 
static void schedule_packet_send(local_info_t *local, struct sta_info *sta){	struct sk_buff *skb;	struct hostap_ieee80211_hdr *hdr;	struct hostap_80211_rx_status rx_stats;	if (skb_queue_empty(&sta->tx_buf))		return;	skb = dev_alloc_skb(16);	if (skb == NULL) {		printk(KERN_DEBUG "%s: schedule_packet_send: skb alloc "		       "failed\n", local->dev->name);		return;	}	hdr = (struct hostap_ieee80211_hdr *) skb_put(skb, 16);	/* Generate a fake pspoll frame to start packet delivery */	hdr->frame_control = __constant_cpu_to_le16(		(WLAN_FC_TYPE_CTRL << 2) | (WLAN_FC_STYPE_PSPOLL << 4));	memcpy(hdr->addr1, local->dev->dev_addr, ETH_ALEN);	memcpy(hdr->addr2, sta->addr, ETH_ALEN);	hdr->duration_id = cpu_to_le16(sta->aid | BIT(15) | BIT(14));	PDEBUG(DEBUG_PS2, "%s: Scheduling buffered packet delivery for "	       "STA " MACSTR "\n", local->dev->name, MAC2STR(sta->addr));	skb->dev = local->dev;	memset(&rx_stats, 0, sizeof(rx_stats));	hostap_rx(local->dev, skb, &rx_stats);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/c0f72ca8e4f1b459b5582c1c8dcaf7e53151f069/hostap_ap.c/clean/drivers/net/wireless/hostap/hostap_ap.c