Skip to content
Commit 38121067 authored by Olivier Sobrie's avatar Olivier Sobrie Committed by David S. Miller
Browse files

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: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarOlivier Sobrie <olivier@sobrie.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cc491970
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment