summaryrefslogtreecommitdiff
path: root/drivers/staging/cxt1e1/functions.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2010-05-25 04:25:57 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 15:16:21 -0700
commit41a38d9e632f7c9ec5ad8fc627567d97f4302c4a (patch)
tree164f14fa185da295a6b3d5dd6f9a4d0f026f66db /drivers/staging/cxt1e1/functions.c
parent9a3dfa0555130952517b9a9c3918729495aa709a (diff)
Staging: rtl8192su: Fix procfs code for interfaces not named wlan0
The current code creates directories in procfs named after interfaces, but doesn't handle renaming. This can result in name collisions and consequent WARNINGs. It also means that the interface name cannot reliably be used to remove the directory - in fact the current code doesn't even try, and always uses "wlan0"! Since the name of a proc_dir_entry is embedded in it, use that when removing it. Add a netdev notifier to catch interface renaming, and remove and re-add the directory at this point. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/staging/cxt1e1/functions.c')
0 files changed, 0 insertions, 0 deletions