[PATCH 1/3] hwsim: Support deleting hwsim by name.
johannes at sipsolutions.net
Wed Oct 29 11:56:06 EDT 2014
On Mon, 2014-10-27 at 12:59 -0700, Ben Greear wrote:
> > destroy_radio(index=12345)
> > or
> > destroy_radio(name="phy0")
> Do you intend the command-line arguments to the script to change?
I don't really care.
> At the least, I think the old behaviour needs to continue working
Agree, that'd make sense.
> as is, but I guess I could add a --by-name argument or something like that?
Well the script could also just try to auto-detect, I just don't like
doing it at the API level.
> hwsim.py destroy --by-name vwiphy0
That seems reasonable as well.
More information about the HostAP