mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
MFC r343341:
ifconfig: drop unused macros from ifieee80211.c
This commit is contained in:
parent
6373632dd0
commit
3b390ad105
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=343506
@ -1454,9 +1454,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) {\
|
||||
@ -1646,8 +1643,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)
|
||||
|
Loading…
Reference in New Issue
Block a user