diff options
Diffstat (limited to 'net/mac80211/rc80211_pid_debugfs.c')
-rw-r--r-- | net/mac80211/rc80211_pid_debugfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_pid_debugfs.c b/net/mac80211/rc80211_pid_debugfs.c index 47438b4a9af5..4851e9e2daed 100644 --- a/net/mac80211/rc80211_pid_debugfs.c +++ b/net/mac80211/rc80211_pid_debugfs.c | |||
@@ -162,7 +162,7 @@ static ssize_t rate_control_pid_events_read(struct file *file, char __user *buf, | |||
162 | file_info->next_entry = (file_info->next_entry + 1) % | 162 | file_info->next_entry = (file_info->next_entry + 1) % |
163 | RC_PID_EVENT_RING_SIZE; | 163 | RC_PID_EVENT_RING_SIZE; |
164 | 164 | ||
165 | /* Print information about the event. Note that userpace needs to | 165 | /* Print information about the event. Note that userspace needs to |
166 | * provide large enough buffers. */ | 166 | * provide large enough buffers. */ |
167 | length = length < RC_PID_PRINT_BUF_SIZE ? | 167 | length = length < RC_PID_PRINT_BUF_SIZE ? |
168 | length : RC_PID_PRINT_BUF_SIZE; | 168 | length : RC_PID_PRINT_BUF_SIZE; |
@@ -206,6 +206,7 @@ static const struct file_operations rc_pid_fop_events = { | |||
206 | .poll = rate_control_pid_events_poll, | 206 | .poll = rate_control_pid_events_poll, |
207 | .open = rate_control_pid_events_open, | 207 | .open = rate_control_pid_events_open, |
208 | .release = rate_control_pid_events_release, | 208 | .release = rate_control_pid_events_release, |
209 | .llseek = noop_llseek, | ||
209 | }; | 210 | }; |
210 | 211 | ||
211 | void rate_control_pid_add_sta_debugfs(void *priv, void *priv_sta, | 212 | void rate_control_pid_add_sta_debugfs(void *priv, void *priv_sta, |