mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
mac80211: correct warnings in minstrel rate control algorithm
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
d8b105f900
commit
51b94bf065
1 changed files with 3 additions and 3 deletions
|
@ -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, "\nTotal packet count:: ideal %d "
|
p += sprintf(p, "\nTotal 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)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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;
|
||||||
|
|
Loading…
Reference in a new issue