diff options
| author | David Howells <[email protected]> | 2013-04-08 15:17:33 +0100 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2013-04-29 15:41:50 -0400 |
| commit | 0541f9d08acfcf68b589e93cc26c3117d0b594c4 (patch) | |
| tree | 42cf86191b85db8b1a3b9080c2cae2ee0dd6283c /tools/perf/scripts/python/netdev-times.py | |
| parent | d0206fb55540cfdc3a2634ffdafc6f1d86cf1f15 (diff) | |
rtl8192u: Don't use create_proc_read_entry()
Don't use create_proc_read_entry() as that is deprecated, but rather use
proc_create_data() and seq_file instead. Whilst we're at it, reduce the
number of show functions where we can share them.
Note: proc_get_stats_ap() should probably use seq_file iteration rather than
list_for_each_entry().
Further note: There appears to be a lot of locking missing in this file to
defend against concurrent access by the driver doing normal operations.
Notably, ieee->network_list traversal and RWCAM/RCAMO command/response access.
Further, do any of the registers read have side effects upon reading?
Signed-off-by: David Howells <[email protected]>
cc: Jerry Chuang <[email protected]>
cc: Mauro Carvalho Chehab <[email protected]>
cc: Greg Kroah-Hartman <[email protected]>
cc: [email protected]
cc: [email protected]
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions