]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix debugfs default key oops
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 2 May 2008 23:04:47 +0000 (01:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:18:05 +0000 (21:18 -0400)
commit10fdaae9f78172d0b1e8faaf3169f8793c088708
tree76f69aafe51620373cb805fd69782ec3970280dd
parent48007be9192ed098d0006869db71be8657969329
mac80211: fix debugfs default key oops

Under certain circumstances (in AP mode) the debugfs function
that is supposed to add the default key symlink can encounter
a NULL default_key pointer. This patch makes it handle that
situtation gracefully.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs_key.c