On Tue, 2009-12-08 at 13:52 -0500, John W. Linville wrote: > So, probably we need to map from the wlanX name to the phyY name, > then determine whether or not this is the first wlanX for phyY. > If not, then the name should be left alone. > > Now, how do we figure out how many wlanX's belong to phyY? And what's the "first" one? :) ls /sys/class/net/wlan0/device/net/ will give you the list of interface associated with this device. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part