diff options
| author | Olivier Sobrie <[email protected]> | 2015-01-30 12:22:03 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-01 20:33:27 +0000 |
| commit | 38121067b10268385ca00978d1c1a241cd5eadfb (patch) | |
| tree | f85a75e5222c2ea3a10a2463f092ff017f7709c9 /net/switchdev/switchdev.c | |
| parent | hso: add missing cancel_work_sync in disconnect() (diff) | |
| download | kernel-38121067b10268385ca00978d1c1a241cd5eadfb.tar.gz kernel-38121067b10268385ca00978d1c1a241cd5eadfb.zip | |
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/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
