aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-08-25 11:57:06 +0300
committerJohn W. Linville <linville@tuxdriver.com>2008-08-26 20:06:33 -0400
commit93015f0f34e81a47c4126329746ce5f364bafd11 (patch)
treea65755403354d28148f8b85627ddf0dd544c9277 /sound
parentnet/mac80211/mesh.c: correct the argument to __mesh_table_free (diff)
downloadlinux-dev-93015f0f34e81a47c4126329746ce5f364bafd11.tar.xz
linux-dev-93015f0f34e81a47c4126329746ce5f364bafd11.zip
mac80211: Fix debugfs file add/del for netdev
Previous version was using incorrect union structures for non-AP interfaces when adding and removing max_ratectrl_rateidx and force_unicast_rateidx entries. Depending on the vif type, this ended up in corrupting debugfs entries since the dentries inside different union structures ended up going being on top of eachother.. As the end result, debugfs files were being left behind with references to freed data (instant kernel oops on access) and directories were not removed properly when unloading mac80211 drivers. This patch fixes those issues by using only a single union structure based on the vif type. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions