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)
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>

No differences found