Date: Thu, 26 Nov 2015 02:00:37 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291353 - head/contrib/wpa/src/drivers Message-ID: <201511260200.tAQ20bXu014404@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Nov 26 02:00:37 2015 New Revision: 291353 URL: https://svnweb.freebsd.org/changeset/base/291353 Log: [wpa] handle IBSS mediatype. same as the previous commit to ifconfig - handle a mediatype of IBSS without failing/complaining. Internally inside wpa_s things treat IBSS/ADHOC as equivalent. Modified: head/contrib/wpa/src/drivers/driver_bsd.c Modified: head/contrib/wpa/src/drivers/driver_bsd.c ============================================================================== --- head/contrib/wpa/src/drivers/driver_bsd.c Thu Nov 26 01:58:50 2015 (r291352) +++ head/contrib/wpa/src/drivers/driver_bsd.c Thu Nov 26 02:00:37 2015 (r291353) @@ -1497,6 +1497,8 @@ get80211opmode(struct bsd_driver_data *d } if (ifmr.ifm_current & IFM_IEEE80211_HOSTAP) return IEEE80211_M_HOSTAP; + if (ifmr.ifm_current & IFM_IEEE80211_IBSS) + return IEEE80211_M_IBSS; if (ifmr.ifm_current & IFM_IEEE80211_MONITOR) return IEEE80211_M_MONITOR; #ifdef IEEE80211_M_MBSS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511260200.tAQ20bXu014404>