(int)BSSList_rid.rssi); 
(int)BSSList_rid.dBm); 
static int proc_BSSList_open( struct inode *inode, struct file *file ) {	struct proc_data *data;	struct proc_dir_entry *dp = PDE(inode);	struct net_device *dev = dp->data;	struct airo_info *ai = dev->priv;	char *ptr;	BSSListRid BSSList_rid;	int rc;	/* If doLoseSync is not 1, we won't do a Lose Sync */	int doLoseSync = -1;	if ((file->private_data = kmalloc(sizeof(struct proc_data ), GFP_KERNEL)) == NULL)		return -ENOMEM;	memset(file->private_data, 0, sizeof(struct proc_data));	data = (struct proc_data *)file->private_data;	if ((data->rbuffer = kmalloc( 1024, GFP_KERNEL )) == NULL) {		kfree (file->private_data);		return -ENOMEM;	}	data->writelen = 0;	data->maxwritelen = 0;	data->wbuffer = NULL;	data->on_close = NULL;	if (file->f_mode & FMODE_WRITE) {		if (!(file->f_mode & FMODE_READ)) {			Cmd cmd;			Resp rsp;			if (ai->flags & FLAG_RADIO_MASK) return -ENETDOWN;			memset(&cmd, 0, sizeof(cmd));			cmd.cmd=CMD_LISTBSS;			if (down_interruptible(&ai->sem))				return -ERESTARTSYS;			issuecommand(ai, &cmd, &rsp);			up(&ai->sem);			data->readlen = 0;			return 0;		}		doLoseSync = 1;	}	ptr = data->rbuffer;	/* There is a race condition here if there are concurrent opens.           Since it is a rare condition, we'll just live with it, otherwise           we have to add a spin lock... */	rc = readBSSListRid(ai, doLoseSync, &BSSList_rid);	while(rc == 0 && BSSList_rid.index != 0xffff) {		ptr += sprintf(ptr, "%02x:%02x:%02x:%02x:%02x:%02x %*s rssi = %d",				(int)BSSList_rid.bssid[0],				(int)BSSList_rid.bssid[1],				(int)BSSList_rid.bssid[2],				(int)BSSList_rid.bssid[3],				(int)BSSList_rid.bssid[4],				(int)BSSList_rid.bssid[5],				(int)BSSList_rid.ssidLen,				BSSList_rid.ssid,				(int)BSSList_rid.rssi);		ptr += sprintf(ptr, " channel = %d %s %s %s %s\n",				(int)BSSList_rid.dsChannel,				BSSList_rid.cap & CAP_ESS ? "ESS" : "",				BSSList_rid.cap & CAP_IBSS ? "adhoc" : "",				BSSList_rid.cap & CAP_PRIVACY ? "wep" : "",				BSSList_rid.cap & CAP_SHORTHDR ? "shorthdr" : "");		rc = readBSSListRid(ai, 0, &BSSList_rid);	}	*ptr = '\0';	data->readlen = strlen( data->rbuffer );	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/41480af27a85d6008d9e11db8bc2730407c25e1d/airo.c/clean/drivers/net/wireless/airo.c