ifr.ifr_data = (caddr_t)nwid;
ifr.ifr_data = (caddr_t)&nwid;
ieee80211_status(){	u_int8_t nwid[IEEE80211_NWID_LEN + 1];	memset(&ifr, 0, sizeof(ifr));	ifr.ifr_data = (caddr_t)nwid;	(void)strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));	nwid[IEEE80211_NWID_LEN] = 0;	if (ioctl(s, SIOCG80211NWID, (caddr_t)&ifr) == 0)		printf("\tnwid %s\n", nwid);}