commit | 38121067b10268385ca00978d1c1a241cd5eadfb | [log] [tgz] |
---|---|---|
author | Olivier Sobrie <olivier@sobrie.be> | Fri Jan 30 13:22:03 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 01 12:33:27 2015 -0800 |
tree | f85a75e5222c2ea3a10a2463f092ff017f7709c9 | |
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 <dcbw@redhat.com> Signed-off-by: Olivier Sobrie <olivier@sobrie.be> Signed-off-by: David S. Miller <davem@davemloft.net>