aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bwi
diff options
context:
space:
mode:
authorAndriy Voskoboinyk <avos@FreeBSD.org>2019-01-26 17:00:55 +0000
committerAndriy Voskoboinyk <avos@FreeBSD.org>2019-01-26 17:00:55 +0000
commitb84b36380eb1404f1cf06224cc8af5f805edb090 (patch)
tree78a10851bffb6a6345858a405612c5c98406d2a2 /sys/dev/bwi
parent34fd9d700086e421db256d9d8b1807f918513079 (diff)
Notes
Diffstat (limited to 'sys/dev/bwi')
-rw-r--r--sys/dev/bwi/if_bwi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/bwi/if_bwi.c b/sys/dev/bwi/if_bwi.c
index 0349450652a0..79362f3db2a1 100644
--- a/sys/dev/bwi/if_bwi.c
+++ b/sys/dev/bwi/if_bwi.c
@@ -307,9 +307,6 @@ static const struct {
[108] = { 7, 3 }
};
-static const uint8_t bwi_chan_2ghz[] =
- { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 };
-
#ifdef BWI_DEBUG
#ifdef BWI_DEBUG_VERBOSE
static uint32_t bwi_debug = BWI_DBG_ATTACH | BWI_DBG_INIT | BWI_DBG_TXPOWER;
@@ -1715,8 +1712,7 @@ bwi_getradiocaps(struct ieee80211com *ic,
panic("unknown phymode %d\n", phy->phy_mode);
}
- ieee80211_add_channel_list_2ghz(chans, maxchans, nchans,
- bwi_chan_2ghz, nitems(bwi_chan_2ghz), bands, 0);
+ ieee80211_add_channels_default_2ghz(chans, maxchans, nchans, bands, 0);
}
static void