Deleted Added
full compact
34c34
< __FBSDID("$FreeBSD: head/sys/net80211/ieee80211_ioctl.c 147779 2005-07-05 18:05:25Z sam $");
---
> __FBSDID("$FreeBSD: head/sys/net80211/ieee80211_ioctl.c 147794 2005-07-06 15:38:27Z sam $");
1453a1454,1456
> case IEEE80211_IOC_PUREG:
> ireq->i_val = (ic->ic_flags & IEEE80211_F_PUREG) != 0;
> break;
2318a2322,2330
> case IEEE80211_IOC_PUREG:
> if (ireq->i_val)
> ic->ic_flags |= IEEE80211_F_PUREG;
> else
> ic->ic_flags &= ~IEEE80211_F_PUREG;
> /* NB: reset only if we're operating on an 11g channel */
> if (ic->ic_curmode == IEEE80211_MODE_11G)
> error = ENETRESET;
> break;