[PATCH 1/3] hwsim: Support deleting hwsim by name.

Johannes Berg johannes
Wed Oct 29 08:56:06 PDT 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.

johannes




More information about the Hostap mailing list