Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
51b94bf0
Commit
51b94bf0
authored
Oct 22, 2008
by
John W. Linville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mac80211: correct warnings in minstrel rate control algorithm
Signed-off-by:
John W. Linville
<
linville@tuxdriver.com
>
parent
d8b105f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
net/mac80211/rc80211_minstrel_debugfs.c
net/mac80211/rc80211_minstrel_debugfs.c
+3
-3
No files found.
net/mac80211/rc80211_minstrel_debugfs.c
View file @
51b94bf0
...
@@ -94,8 +94,8 @@ minstrel_stats_open(struct inode *inode, struct file *file)
...
@@ -94,8 +94,8 @@ minstrel_stats_open(struct inode *inode, struct file *file)
prob
/
10
,
prob
%
10
,
prob
/
10
,
prob
%
10
,
mr
->
last_success
,
mr
->
last_success
,
mr
->
last_attempts
,
mr
->
last_attempts
,
mr
->
succ_hist
,
(
unsigned
long
long
)
mr
->
succ_hist
,
mr
->
att_hist
);
(
unsigned
long
long
)
mr
->
att_hist
);
}
}
p
+=
sprintf
(
p
,
"
\n
Total packet count:: ideal %d "
p
+=
sprintf
(
p
,
"
\n
Total packet count:: ideal %d "
"lookaround %d
\n\n
"
,
"lookaround %d
\n\n
"
,
...
@@ -106,7 +106,7 @@ minstrel_stats_open(struct inode *inode, struct file *file)
...
@@ -106,7 +106,7 @@ minstrel_stats_open(struct inode *inode, struct file *file)
return
0
;
return
0
;
}
}
static
in
t
static
ssize_
t
minstrel_stats_read
(
struct
file
*
file
,
char
__user
*
buf
,
size_t
len
,
loff_t
*
o
)
minstrel_stats_read
(
struct
file
*
file
,
char
__user
*
buf
,
size_t
len
,
loff_t
*
o
)
{
{
struct
minstrel_stats_info
*
ms
;
struct
minstrel_stats_info
*
ms
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment