Staging: rtl8192u/ieee80211: add missing single_release()
The debug file is opened with single_open(), but there's no single_release(). Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1c9962b434
commit
e8e6fda00b
@ -268,7 +268,8 @@ static const struct file_operations fops = {
|
||||
.open = open_debug_level,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.write = write_debug_level
|
||||
.write = write_debug_level,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
int __init ieee80211_debug_init(void)
|
||||
|
Loading…
Reference in New Issue
Block a user