Commit e8e6fda0 authored by Li Zefan's avatar Li Zefan Committed by Greg Kroah-Hartman

Staging: rtl8192u/ieee80211: add missing single_release()

The debug file is opened with single_open(), but there's no
single_release().
Signed-off-by: default avatarLi Zefan <lizefan@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1c9962b4
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment