]> 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)
commitf810a8393d49f54fb74bb03aa56c0624527a00ed
treee500eed19ac2225ca3138e0ab5eae404c703ae79
parentcf6f9fed0c055ed1ffe12572310759fb31b8a858
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