priv->ieee->abg_ture = 0; 
priv->ieee->abg_true = 0; 
static int ipw_wx_set_wireless_mode(struct net_device *dev,				    struct iw_request_info *info,				    union iwreq_data *wrqu, char *extra){	struct ipw_priv *priv = ieee80211_priv(dev);	int mode = *(int *)extra;	u8 band = 0, modulation = 0;	if (mode == 0 || mode & ~IEEE_MODE_MASK) {		IPW_WARNING("Attempt to set invalid wireless mode: %d\n", mode);		return -EINVAL;	}	if (priv->adapter == IPW_2915ABG) {		priv->ieee->abg_ture = 1;		if (mode & IEEE_A) {			band |= IEEE80211_52GHZ_BAND;			modulation |= IEEE80211_OFDM_MODULATION;		} else			priv->ieee->abg_ture = 0;	} else {		if (mode & IEEE_A) {			IPW_WARNING("Attempt to set 2200BG into "				    "802.11a mode\n");			return -EINVAL;		}		priv->ieee->abg_ture = 0;	}	if (mode & IEEE_B) {		band |= IEEE80211_24GHZ_BAND;		modulation |= IEEE80211_CCK_MODULATION;	} else		priv->ieee->abg_ture = 0;	if (mode & IEEE_G) {		band |= IEEE80211_24GHZ_BAND;		modulation |= IEEE80211_OFDM_MODULATION;	} else		priv->ieee->abg_ture = 0;	priv->ieee->mode = mode;	priv->ieee->freq_band = band;	priv->ieee->modulation = modulation;	init_supported_rates(priv, &priv->rates);	/* If we are currently associated, or trying to associate	 * then see if this is a new configuration (causing us to	 * disassociate) */	if (priv->status & (STATUS_ASSOCIATED | STATUS_ASSOCIATING)) {		/* The resulting association will trigger		 * the new rates to be sent to the device */		IPW_DEBUG_ASSOC("Disassociating due to mode change.\n");		ipw_disassociate(priv);	} else		ipw_send_supported_rates(priv, &priv->rates);	IPW_DEBUG_WX("PRIV SET MODE: %c%c%c\n",		     mode & IEEE_A ? 'a' : '.',		     mode & IEEE_B ? 'b' : '.', mode & IEEE_G ? 'g' : '.');	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a33a1982012e9070736e3717231714dc9892303b/ipw2200.c/clean/drivers/net/wireless/ipw2200.c