Staging: rtl8192u/ieee80211: add missing single_release()
authorLi Zefan <lizefan@huawei.com>
Wed, 31 Jul 2013 06:30:13 +0000 (14:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:33:36 +0000 (17:33 -0700)
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>
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c

index e0870c0..434c431 100644 (file)
@@ -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)