summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-07-31 14:30:13 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-31 17:33:36 -0700
commite8e6fda00b834a5c048214d58ca7eb00ddad734c (patch)
treeb595d8d9a3d31f7e42ba4870abad5b54d330dd92 /drivers/staging/rtl8192u
parent1c9962b434e347c4e9875b8eaf41f87665bc0162 (diff)
downloadblackbird-op-linux-e8e6fda00b834a5c048214d58ca7eb00ddad734c.tar.gz
blackbird-op-linux-e8e6fda00b834a5c048214d58ca7eb00ddad734c.zip
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>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_module.c3
1 files changed, 2 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud