Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174973854
D59541.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
757 B
Referenced Files
None
Subscribers
None
D59541.diff
View Options
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -3384,7 +3384,7 @@
}
static void
-printrsnxe(if_ctx *ctx, const char *tag, const u_int8_t *ie, size_t ielen)
+printrsnxe(if_ctx *ctx, const char *tag, const u_int8_t *ie)
{
size_t n;
@@ -3392,7 +3392,7 @@
if (!ctx->args->verbose)
return;
- ie += 2, ielen -= 2;
+ ie += 2;
n = (*ie & 0x0f);
printf("<%zu", n + 1);
@@ -3952,7 +3952,7 @@
printapchanrep(ctx, " APCHANREP", vp, 2+vp[1]);
break;
case IEEE80211_ELEMID_RSN_EXT:
- printrsnxe(ctx, " RSNXE", vp, 2+vp[1]);
+ printrsnxe(ctx, " RSNXE", vp);
break;
case IEEE80211_ELEMID_EXTFIELD:
printexties(ctx, vp, maxcols);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 8, 7:33 AM (6 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38659653
Default Alt Text
D59541.diff (757 B)
Attached To
Mode
D59541: sbin/ifconfig: remove unused static function parameter
Attached
Detach File
Event Timeline
Log In to Comment