[patch] Correctly update /proc/net/hostap entries when interface is renamed

Jouni Malinen jkmaline
Sun Sep 18 18:59:41 PDT 2005

On Thu, Sep 15, 2005 at 07:30:33PM +1200, Matt Brown wrote:

> I have created a small patch to improve the functionality of the driver
> when interfaces are renamed.

> The patch can be found at. 
> http://www.mattb.net.nz/patches/hostap/hostap-ifrename.patch
> Would you please apply this patch to the CVS tree?

Thanks! It looks like the patch would be otherwise fine, but I have
couple of comments on it before applying it. It does not seem to take
care of removing and re-adding STA entries in procfs (i.e., one for each
associated STA in Master mode). Another point is the place for
triggering proc remove-add process. Now it is done in prism2_open().
Could this be done earlier, i.e., when the interface is changed, not
when the interface with new name is being set UP?

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list