Re: hostap: handling device renames better

Johannes Berg
2008-08-05T20:24:40Z

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

On Tue, 2008-08-05 at 16:23 -0400, Dan Williams wrote:

> How are drivers made aware that their device's name has changed so they
> could potentially update things they stick in /proc or wherever? hostap
> and airo come to mind as current users of /proc.

You can register a netdevice notifier and follow the renames. mac80211
does this for the debugfs dir.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]