From: Li Zefan Date: Wed, 31 Jul 2013 06:30:13 +0000 (+0800) Subject: Staging: rtl8192u/ieee80211: add missing single_release() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8e6fda00b834a5c048214d58ca7eb00ddad734c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c index e0870c05a5e0..434c43127183 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c @@ -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)