diff options
author | Olivier Sobrie <[email protected]> | 2015-01-30 13:22:03 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-02-01 12:33:27 -0800 |
commit | 38121067b10268385ca00978d1c1a241cd5eadfb (patch) | |
tree | f85a75e5222c2ea3a10a2463f092ff017f7709c9 /net/unix/sysctl_net_unix.c | |
parent | cc491970f5cef560b9e5bf037f0c9dd1e4d6a4bd (diff) |
hso: fix rfkill name conflicts
By using only the usb interface number for the rfkill name, we might
have a name conflicts in case two similar hso devices are connected.
In this patch, the name of the hso rfkill interface embed the value
of a counter that is incremented each time a new rfkill interface is
added.
Suggested-by: Dan Williams <[email protected]>
Signed-off-by: Olivier Sobrie <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions