switch (WLAN_FC_GET_STYPE(header->frame_ctl)) { 
switch (WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl))) { 
void ieee80211_rx_mgt(struct ieee80211_device *ieee,		      struct ieee80211_hdr *header,		      struct ieee80211_rx_stats *stats){	switch (WLAN_FC_GET_STYPE(header->frame_ctl)) {	case IEEE80211_STYPE_ASSOC_RESP:		IEEE80211_DEBUG_MGMT("received ASSOCIATION RESPONSE (%d)\n",				     WLAN_FC_GET_STYPE(header->frame_ctl));		break;	case IEEE80211_STYPE_REASSOC_RESP:		IEEE80211_DEBUG_MGMT("received REASSOCIATION RESPONSE (%d)\n",				     WLAN_FC_GET_STYPE(header->frame_ctl));		break;	case IEEE80211_STYPE_PROBE_RESP:		IEEE80211_DEBUG_MGMT("received PROBE RESPONSE (%d)\n",				     WLAN_FC_GET_STYPE(header->frame_ctl));		IEEE80211_DEBUG_SCAN("Probe response\n");		ieee80211_process_probe_response(ieee,						 (struct						  ieee80211_probe_response *)						 header, stats);		break;	case IEEE80211_STYPE_BEACON:		IEEE80211_DEBUG_MGMT("received BEACON (%d)\n",				     WLAN_FC_GET_STYPE(header->frame_ctl));		IEEE80211_DEBUG_SCAN("Beacon\n");		ieee80211_process_probe_response(ieee,						 (struct						  ieee80211_probe_response *)						 header, stats);		break;	default:		IEEE80211_DEBUG_MGMT("received UNKNOWN (%d)\n",				     WLAN_FC_GET_STYPE(header->frame_ctl));		IEEE80211_WARNING("%s: Unknown management packet: %d\n",				  ieee->dev->name,				  WLAN_FC_GET_STYPE(header->frame_ctl));		break;	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/fd27817ce941c7134adefd2852f8a5f274315ff4/ieee80211_rx.c/buggy/net/ieee80211/ieee80211_rx.c