sta->last_rx_updated = 0; 
sta->last_rx_updated = IW_QUAL_DBM; 
static int prism2_ap_get_sta_qual(local_info_t *local, struct sockaddr addr[],				  struct iw_quality qual[], int buf_size,				  int aplist){	struct ap_data *ap = local->ap;	struct list_head *ptr;	int count = 0;	spin_lock_bh(&ap->sta_table_lock);	for (ptr = ap->sta_list.next; ptr != NULL && ptr != &ap->sta_list;	     ptr = ptr->next) {		struct sta_info *sta = (struct sta_info *) ptr;		if (aplist && !sta->ap)			continue;		addr[count].sa_family = ARPHRD_ETHER;		memcpy(addr[count].sa_data, sta->addr, ETH_ALEN);		if (sta->last_rx_silence == 0)			qual[count].qual = sta->last_rx_signal < 27 ?				0 : (sta->last_rx_signal - 27) * 92 / 127;		else			qual[count].qual = sta->last_rx_signal -				sta->last_rx_silence - 35;		qual[count].level = HFA384X_LEVEL_TO_dBm(sta->last_rx_signal);		qual[count].noise = HFA384X_LEVEL_TO_dBm(sta->last_rx_silence);		qual[count].updated = sta->last_rx_updated;		sta->last_rx_updated = 0;		count++;		if (count >= buf_size)			break;	}	spin_unlock_bh(&ap->sta_table_lock);	return count;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c28df16ed70d1b6cefd12135e3c68bfccd1bb635/hostap_ap.c/buggy/drivers/net/wireless/hostap/hostap_ap.c