Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci Fix function naming botch.
details: https://anonhg.NetBSD.org/src-all/rev/51b97aabdda3
branches: trunk
changeset: 375762:51b97aabdda3
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun Mar 06 03:51:27 2022 +1100
description:
Fix function naming botch.
AFAICT ipw is 11b only.
diffstat:
sys/dev/pci/if_ipw.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 7ad9964af57a -r 51b97aabdda3 sys/dev/pci/if_ipw.c
--- a/sys/dev/pci/if_ipw.c Sun Mar 06 03:49:07 2022 +1100
+++ b/sys/dev/pci/if_ipw.c Sun Mar 06 03:51:27 2022 +1100
@@ -434,7 +434,7 @@ ipw_vap_create(struct ieee80211com *ic,
}
static void
-rtwn_vap_delete(struct ieee80211vap *arg)
+ipw_vap_delete(struct ieee80211vap *arg)
{
struct ifnet *ifp = arg->iv_ifp;
struct ipw_vap *vap = (struct ipw_vap *)arg;
@@ -445,15 +445,13 @@ rtwn_vap_delete(struct ieee80211vap *arg
}
static void
-rtwn_get_radiocaps(struct ieee80211com *ic,
+ipw_get_radiocaps(struct ieee80211com *ic,
int maxchans, int *nchans, struct ieee80211_channel chans[])
{
uint8_t bands[IEEE80211_MODE_BYTES];
memset(bands, 0, sizeof(bands));
setbit(bands, IEEE80211_MODE_11B);
- setbit(bands, IEEE80211_MODE_11G);
-// setbit(bands, IEEE80211_MODE_11NG);
ieee80211_add_channels_default_2ghz(chans, maxchans, nchans, bands, 0);
}
Home |
Main Index |
Thread Index |
Old Index