svn commit: r254506 - head/sys/net80211
Adrian Chadd
adrian at FreeBSD.org
Sun Aug 18 23:40:30 UTC 2013
Author: adrian
Date: Sun Aug 18 23:40:30 2013
New Revision: 254506
URL: http://svnweb.freebsd.org/changeset/base/254506
Log:
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.
Modified:
head/sys/net80211/ieee80211_tdma.c
Modified: head/sys/net80211/ieee80211_tdma.c
==============================================================================
--- head/sys/net80211/ieee80211_tdma.c Sun Aug 18 23:15:29 2013 (r254505)
+++ head/sys/net80211/ieee80211_tdma.c Sun Aug 18 23:40:30 2013 (r254506)
@@ -744,7 +744,7 @@ tdma_ioctl_get80211(struct ieee80211vap
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
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:
More information about the svn-src-head
mailing list