static int atmel_set_essid(struct net_device *dev,			   struct iw_request_info *info,			   struct iw_point *dwrq,			   char *extra){	struct atmel_private *priv = netdev_priv(dev);	/* Check if we asked for `any' */	if(dwrq->flags == 0) {		priv->connect_to_any_BSS = 1;	} else {		int index = (dwrq->flags & IW_ENCODE_INDEX) - 1;		priv->connect_to_any_BSS = 0;				/* Check the size of the string */		if (dwrq->length > MAX_SSID_LENGTH + 1)			 return -E2BIG ;		if (index != 0)			return -EINVAL;				memcpy(priv->new_SSID, extra, dwrq->length - 1);		priv->new_SSID_size = dwrq->length - 1;	}	return -EINPROGRESS;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4d791aadf63c9d605bc9a4144e79d5756fc29fb3/atmel.c/clean/drivers/net/wireless/atmel.c