Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net80211 In ieee80211_media_init(), change a pointer tha...
details: https://anonhg.NetBSD.org/src/rev/24b7765257c3
branches: trunk
changeset: 753401:24b7765257c3
user: dyoung <dyoung%NetBSD.org@localhost>
date: Fri Mar 26 17:18:05 2010 +0000
description:
In ieee80211_media_init(), change a pointer that we never write
through to a pointer to const.
diffstat:
sys/net80211/ieee80211.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c9e81e98a596 -r 24b7765257c3 sys/net80211/ieee80211.c
--- a/sys/net80211/ieee80211.c Fri Mar 26 15:55:33 2010 +0000
+++ b/sys/net80211/ieee80211.c Fri Mar 26 17:18:05 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211.c,v 1.50 2010/01/19 22:08:17 pooka Exp $ */
+/* $NetBSD: ieee80211.c,v 1.51 2010/03/26 17:18:05 dyoung Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211.c,v 1.22 2005/08/10 16:22:29 sam Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211.c,v 1.50 2010/01/19 22:08:17 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211.c,v 1.51 2010/03/26 17:18:05 dyoung Exp $");
#endif
/*
@@ -352,7 +352,7 @@
struct ifnet *ifp = ic->ic_ifp;
struct ifmediareq imr;
int i, j, mode, rate, maxrate, mword, mopt, r;
- struct ieee80211_rateset *rs;
+ const struct ieee80211_rateset *rs;
struct ieee80211_rateset allrates;
/*
Home |
Main Index |
Thread Index |
Old Index