Don't return ENOTSUPP here - the net80211 pluggable ioctl API will treat

this as the final item in the linker set and not try others.

This stopped the fast frames IOCTLs from being called.
This commit is contained in:
Adrian Chadd 2013-08-18 23:40:30 +00:00
parent d91f339823
commit bfd3bbdb11
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254506

View File

@ -744,7 +744,7 @@ tdma_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq)
struct ieee80211_tdma_state *ts = vap->iv_tdma;
if ((vap->iv_caps & IEEE80211_C_TDMA) == 0)
return EOPNOTSUPP;
return ENOSYS;
switch (ireq->i_type) {
case IEEE80211_IOC_TDMA_SLOT:
@ -772,7 +772,7 @@ tdma_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq)
struct ieee80211_tdma_state *ts = vap->iv_tdma;
if ((vap->iv_caps & IEEE80211_C_TDMA) == 0)
return EOPNOTSUPP;
return ENOSYS;
switch (ireq->i_type) {
case IEEE80211_IOC_TDMA_SLOT: