]> git.baikalelectronics.ru Git - kernel.git/commit
hostap: fix "hostap: proc: Use remove_proc_subtree()"
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Wed, 12 Feb 2014 22:38:17 +0000 (22:38 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Feb 2014 19:58:12 +0000 (14:58 -0500)
commitfa9deae89b64eb15ef2c61fb73d9a9ad85e98236
treee500eed19ac2225ca3138e0ab5eae404c703ae79
parentcfa5000e75cf5c84aeb8f077a523926dcf56d127
hostap: fix "hostap: proc: Use remove_proc_subtree()"

remove_proc_subtree() doesn't work here as local->ddev has already
been removed, and NULLed out.  Use proc_remove() instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_proc.c