correct spelling of IEEE80211_IOC_RTSTHRESHOLD

This commit is contained in:
Sam Leffler 2003-09-26 16:48:39 +00:00
parent f9b9ae4dd1
commit 13604e6bad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120480
2 changed files with 3 additions and 3 deletions

View File

@ -823,7 +823,7 @@ ieee80211_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
case IEEE80211_IOC_POWERSAVESLEEP:
ireq->i_val = ic->ic_lintval;
break;
case IEEE80211_IOCT_RTSTHRESHOLD:
case IEEE80211_IOC_RTSTHRESHOLD:
ireq->i_val = ic->ic_rtsthreshold;
break;
default:
@ -958,7 +958,7 @@ ieee80211_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
ic->ic_lintval = ireq->i_val;
error = ENETRESET;
break;
case IEEE80211_IOCT_RTSTHRESHOLD:
case IEEE80211_IOC_RTSTHRESHOLD:
if (!(IEEE80211_RTS_MIN < ireq->i_val &&
ireq->i_val < IEEE80211_RTS_MAX)) {
error = EINVAL;

View File

@ -74,7 +74,7 @@ struct ieee80211req {
#define IEEE80211_POWERSAVE_PSP_CAM 3
#define IEEE80211_POWERSAVE_ON IEEE80211_POWERSAVE_CAM
#define IEEE80211_IOC_POWERSAVESLEEP 11
#define IEEE80211_IOCT_RTSTHRESHOLD 12
#define IEEE80211_IOC_RTSTHRESHOLD 12
#ifndef IEEE80211_CHAN_ANY
#define IEEE80211_CHAN_ANY 0xffff /* token for ``any channel'' */