svn commit: r343506 - in stable: 10/sbin/ifconfig 11/sbin/ifconfig 12/sbin/ifconfig

Andriy Voskoboinyk avos at FreeBSD.org
Mon Jan 28 00:51:28 UTC 2019


Author: avos
Date: Mon Jan 28 00:51:26 2019
New Revision: 343506
URL: https://svnweb.freebsd.org/changeset/base/343506

Log:
  MFC r343341:
  ifconfig: drop unused macros from ifieee80211.c

Modified:
  stable/12/sbin/ifconfig/ifieee80211.c
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sbin/ifconfig/ifieee80211.c
  stable/11/sbin/ifconfig/ifieee80211.c
Directory Properties:
  stable/10/   (props changed)
  stable/11/   (props changed)

Modified: stable/12/sbin/ifconfig/ifieee80211.c
==============================================================================
--- stable/12/sbin/ifconfig/ifieee80211.c	Sun Jan 27 19:05:18 2019	(r343505)
+++ stable/12/sbin/ifconfig/ifieee80211.c	Mon Jan 28 00:51:26 2019	(r343506)
@@ -1527,9 +1527,6 @@ getmodeflags(const char *val)
 	return flags;
 }
 
-#define	IEEE80211_CHAN_HTA	(IEEE80211_CHAN_HT|IEEE80211_CHAN_5GHZ)
-#define	IEEE80211_CHAN_HTG	(IEEE80211_CHAN_HT|IEEE80211_CHAN_2GHZ)
-
 #define	_APPLY(_flags, _base, _param, _v) do {				\
     if (_flags & IEEE80211_CHAN_HT) {					\
 	    if ((_flags & (IEEE80211_CHAN_5GHZ|IEEE80211_CHAN_2GHZ)) == 0) {\
@@ -1719,8 +1716,6 @@ DECL_CMD_FUNC(set80211maxretry, val, d)
 }
 #undef _APPLY_RATE
 #undef _APPLY
-#undef IEEE80211_CHAN_HTA
-#undef IEEE80211_CHAN_HTG
 
 static
 DECL_CMD_FUNC(set80211fragthreshold, val, d)


More information about the svn-src-all mailing list