diff options
author | Olivier Sobrie <olivier@sobrie.be> | 2015-01-30 13:22:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-01 12:33:27 -0800 |
commit | 38121067b10268385ca00978d1c1a241cd5eadfb (patch) | |
tree | f85a75e5222c2ea3a10a2463f092ff017f7709c9 /drivers/net/ethernet/tundra | |
parent | cc491970f5cef560b9e5bf037f0c9dd1e4d6a4bd (diff) | |
download | linux-38121067b10268385ca00978d1c1a241cd5eadfb.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/ethernet/tundra')
0 files changed, 0 insertions, 0 deletions