int prism2_sta_send_mgmt(local_info_t *local, u8 *dst, u8 stype, 
int prism2_sta_send_mgmt(local_info_t *local, u8 *dst, u16 stype, 
int prism2_sta_send_mgmt(local_info_t *local, u8 *dst, u8 stype,			 u8 *body, size_t bodylen){	struct sk_buff *skb;	struct hostap_ieee80211_mgmt *mgmt;	struct hostap_skb_tx_data *meta;	struct net_device *dev = local->dev;	skb = dev_alloc_skb(IEEE80211_MGMT_HDR_LEN + bodylen);	if (skb == NULL)		return -ENOMEM;	mgmt = (struct hostap_ieee80211_mgmt *)		skb_put(skb, IEEE80211_MGMT_HDR_LEN);	memset(mgmt, 0, IEEE80211_MGMT_HDR_LEN);	mgmt->frame_control =		cpu_to_le16((WLAN_FC_TYPE_MGMT << 2) | (stype << 4));	memcpy(mgmt->da, dst, ETH_ALEN);	memcpy(mgmt->sa, dev->dev_addr, ETH_ALEN);	memcpy(mgmt->bssid, dst, ETH_ALEN);	if (body)		memcpy(skb_put(skb, bodylen), body, bodylen);	meta = (struct hostap_skb_tx_data *) skb->cb;	memset(meta, 0, sizeof(*meta));	meta->magic = HOSTAP_SKB_TX_DATA_MAGIC;	meta->iface = netdev_priv(dev);	skb->dev = dev;	skb->mac.raw = skb->nh.raw = skb->data;	dev_queue_xmit(skb);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/4339d328631aa815fe2181b9164b3690ca2db4da/hostap.c/buggy/drivers/net/wireless/hostap/hostap.c