]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: fix two issues in debugfs
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 10 Oct 2008 15:52:49 +0000 (17:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 18 Oct 2008 17:49:11 +0000 (10:49 -0700)
commit60b216fffd66fc2ad2824a05d6838aff6b59d827
tree1e36ecbf119fe3143c53df6dd59ef8b5771543e0
parent7ae3a769f9cbde6564b7335b0ea45d19066c7f7c
mac80211: fix two issues in debugfs

Not in trees above 2.6.27 as it is fixed differently in .28.

This fixes RHBZ 466264, whenever the master interface is
renamed this code would BUG_ON. Also fixes a separately
reported bug with the debugfs dir being NULL.

This patch is not applicable to the next kernel version
because both these issues have been fixed, the first one
by not having the master interface have a ieee80211_ptr
at all, and the second one by also leaving the function
early.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: John Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/debugfs_netdev.c