static ssize_t show_bssinfo(struct device *d, char *buf) 
static ssize_t show_bssinfo(struct device *d, struct device_attribute *attr, char *buf) 
static ssize_t show_bssinfo(struct device *d, char *buf){	struct ipw2100_priv *priv = dev_get_drvdata(d);	char essid[IW_ESSID_MAX_SIZE + 1];	u8 bssid[ETH_ALEN];	u32 chan = 0;	char * out = buf;	int length;	int ret;	memset(essid, 0, sizeof(essid));	memset(bssid, 0, sizeof(bssid));	length = IW_ESSID_MAX_SIZE;	ret = ipw2100_get_ordinal(priv, IPW_ORD_STAT_ASSN_SSID, essid, &length);	if (ret)		IPW_DEBUG_INFO("failed querying ordinals at line %d\n",			       __LINE__);	length = sizeof(bssid);	ret = ipw2100_get_ordinal(priv, IPW_ORD_STAT_ASSN_AP_BSSID,				  bssid, &length);	if (ret)		IPW_DEBUG_INFO("failed querying ordinals at line %d\n",			       __LINE__);	length = sizeof(u32);	ret = ipw2100_get_ordinal(priv, IPW_ORD_OUR_FREQ, &chan, &length);	if (ret)		IPW_DEBUG_INFO("failed querying ordinals at line %d\n",			       __LINE__);	out += sprintf(out, "ESSID: %s\n", essid);	out += sprintf(out, "BSSID:   %02x:%02x:%02x:%02x:%02x:%02x\n",		       bssid[0], bssid[1], bssid[2],		       bssid[3], bssid[4], bssid[5]);	out += sprintf(out, "Channel: %d\n", chan);	return out - buf;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/edfc43f2ec542c17c479d8ec7e4b0cee7b20f578/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c