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 2013-08-18 23:40:30 +00:00
parent 17c7e12452
commit 7fb3e64ee2

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: