On Thursday 02 November 2006 17:38, Johannes Berg wrote: > After removing knowledge of the master net_dev from drivers, > they'll still need a way to tell us which MAC address they have. > This is that way, the perm_addr is initially used for all devices. > Shouldn't you add something to ieee80211_set_mac_address so the driver/d80211 can find out what MAC address the user actually wants?
Might be easier to just point perm_addr to dev_addr, but that would make it obvious that perm_addr is a bit messy. A wrapper for drivers that returns a pointer to dev_addr might be a better idea. Also, do we need to update interfaces associated with the master interface when the master MAC address changes? -Michael Wu
pgpGDCT9RsJnl.pgp
Description: PGP signature