summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_tdma.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-08-18 23:40:30 +0000
committeradrian <adrian@FreeBSD.org>2013-08-18 23:40:30 +0000
commit7fb3e64ee2006f8f757634e11dd261dc4aee57f4 (patch)
treea5e3c9dd31f5b3492b5cf8c83d4791fe3977f389 /sys/net80211/ieee80211_tdma.c
parent17c7e12452a08f448fd5a4204936d7b073e0dc1f (diff)
downloadFreeBSD-src-7fb3e64ee2006f8f757634e11dd261dc4aee57f4.zip
FreeBSD-src-7fb3e64ee2006f8f757634e11dd261dc4aee57f4.tar.gz
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.
Diffstat (limited to 'sys/net80211/ieee80211_tdma.c')
-rw-r--r--sys/net80211/ieee80211_tdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_tdma.c b/sys/net80211/ieee80211_tdma.c
index ece82ff..08acc38 100644
--- a/sys/net80211/ieee80211_tdma.c
+++ b/sys/net80211/ieee80211_tdma.c
@@ -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:
OpenPOWER on IntegriCloud