summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_proto.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-07-22 17:29:03 +0000
committersam <sam@FreeBSD.org>2005-07-22 17:29:03 +0000
commitf661a632a685b7c22eb499e9c4f0c30248ad5e11 (patch)
tree755e2d7305683712ee93e1f333d13fc03976ce5b /sys/net80211/ieee80211_proto.c
parent5531f8a2116efe546e15b1761eaebe544cb4ce3a (diff)
downloadFreeBSD-src-f661a632a685b7c22eb499e9c4f0c30248ad5e11.zip
FreeBSD-src-f661a632a685b7c22eb499e9c4f0c30248ad5e11.tar.gz
simplify rate set api's by removing ic parameter (implicit in node reference)
MFC after: 3 days
Diffstat (limited to 'sys/net80211/ieee80211_proto.c')
-rw-r--r--sys/net80211/ieee80211_proto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c
index 76ef0b5..2ab0e38 100644
--- a/sys/net80211/ieee80211_proto.c
+++ b/sys/net80211/ieee80211_proto.c
@@ -319,9 +319,10 @@ ieee80211_dump_pkt(const u_int8_t *buf, int len, int rate, int rssi)
}
int
-ieee80211_fix_rate(struct ieee80211com *ic, struct ieee80211_node *ni, int flags)
+ieee80211_fix_rate(struct ieee80211_node *ni, int flags)
{
#define RV(v) ((v) & IEEE80211_RATE_VAL)
+ struct ieee80211com *ic = ni->ni_ic;
int i, j, ignore, error;
int okrate, badrate, fixedrate;
struct ieee80211_rateset *srs, *nrs;
OpenPOWER on IntegriCloud