struct hfa384x_scan_result *results, *prev; 
struct hfa384x_scan_result *res; struct hfa384x_hostscan_result *results, *prev; 
static void prism2_info_scanresults(local_info_t *local, unsigned char *buf,				    int left){	u16 *pos;	int new_count;	unsigned long flags;	struct hfa384x_scan_result *results, *prev;	if (left < 4) {		printk(KERN_DEBUG "%s: invalid scanresult info frame "		       "length %d\n", local->dev->name, left);		return;	}	pos = (u16 *) buf;	pos++;	pos++;	left -= 4;	new_count = left / sizeof(struct hfa384x_scan_result);	results = kmalloc(new_count * sizeof(struct hfa384x_scan_result),			  GFP_ATOMIC);	if (results == NULL)		return;	memcpy(results, pos, new_count * sizeof(struct hfa384x_scan_result));	spin_lock_irqsave(&local->lock, flags);	local->last_scan_type = PRISM2_SCAN;	prev = local->last_scan_results;	local->last_scan_results = results;	local->last_scan_results_count = new_count;	spin_unlock_irqrestore(&local->lock, flags);	kfree(prev);	hostap_report_scan_complete(local);	/* Perform rest of ScanResults handling later in scheduled task */	set_bit(PRISM2_INFO_PENDING_SCANRESULTS, &local->pending_info);	schedule_work(&local->info_queue);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2e4fd068e7e25e654a454ed4a425f239c0f6407a/hostap_info.c/buggy/drivers/net/wireless/hostap/hostap_info.c