Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108629709
D37550.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37550.diff
View Options
diff --git a/sys/dev/rtwn/rtl8188e/r88e.h b/sys/dev/rtwn/rtl8188e/r88e.h
--- a/sys/dev/rtwn/rtl8188e/r88e.h
+++ b/sys/dev/rtwn/rtl8188e/r88e.h
@@ -21,6 +21,8 @@
#ifndef RTL8188E_H
#define RTL8188E_H
+#include <dev/rtwn/if_rtwn_ridx.h>
+
/*
* Global definitions.
*/
@@ -46,7 +48,7 @@
/* r88e_chan.c */
void r88e_get_txpower(struct rtwn_softc *, int,
- struct ieee80211_channel *, uint8_t[]);
+ struct ieee80211_channel *, uint8_t[RTWN_RIDX_COUNT]);
void r88e_set_bw20(struct rtwn_softc *, uint8_t);
void r88e_set_gain(struct rtwn_softc *, uint8_t);
diff --git a/sys/dev/rtwn/rtl8192c/r92c.h b/sys/dev/rtwn/rtl8192c/r92c.h
--- a/sys/dev/rtwn/rtl8192c/r92c.h
+++ b/sys/dev/rtwn/rtl8192c/r92c.h
@@ -21,6 +21,8 @@
#ifndef RTL8192C_H
#define RTL8192C_H
+#include <dev/rtwn/if_rtwn_ridx.h>
+
/*
* Global definitions.
*/
@@ -54,9 +56,9 @@
/* r92c_chan.c */
void r92c_get_txpower(struct rtwn_softc *, int,
- struct ieee80211_channel *, uint8_t[]);
+ struct ieee80211_channel *, uint8_t[RTWN_RIDX_COUNT]);
void r92c_write_txpower(struct rtwn_softc *, int,
- uint8_t power[]);
+ uint8_t power[RTWN_RIDX_COUNT]);
void r92c_set_bw20(struct rtwn_softc *, uint8_t);
void r92c_set_chan(struct rtwn_softc *, struct ieee80211_channel *);
void r92c_set_gain(struct rtwn_softc *, uint8_t);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 11:52 PM (9 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16224224
Default Alt Text
D37550.diff (1 KB)
Attached To
Mode
D37550: rtwn: Fix mismatches in array bounds.
Attached
Detach File
Event Timeline
Log In to Comment