diff options
| author | Tom Hughes <tom@compton.nu> | 2015-06-29 19:41:49 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:58:41 +0200 |
| commit | 2a9323896725e9cec361c048a4b7525950f85168 (patch) | |
| tree | 4179ac9f651eb8347b2e939c1ae8b9a36a38c5d7 /scripts | |
| parent | 78b1fa990c495f7e66d3175ef39db997acc9a779 (diff) | |
mac80211: clear subdir_stations when removing debugfs
commit 4479004e6409087d1b4986881dc98c6c15dffb28 upstream.
If we don't do this, and we then fail to recreate the debugfs
directory during a mode change, then we will fail later trying
to add stations to this now bogus directory:
BUG: unable to handle kernel NULL pointer dereference at 0000006c
IP: [<c0a92202>] mutex_lock+0x12/0x30
Call Trace:
[<c0678ab4>] start_creating+0x44/0xc0
[<c0679203>] debugfs_create_dir+0x13/0xf0
[<f8a938ae>] ieee80211_sta_debugfs_add+0x6e/0x490 [mac80211]
Signed-off-by: Tom Hughes <tom@compton.nu>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
