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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"