]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: Print wiphy name in sysfs.
authorBen Greear <greearb@candelatech.com>
Mon, 11 Oct 2010 17:28:59 +0000 (10:28 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Oct 2010 20:05:29 +0000 (16:05 -0400)
commit3f7a24691836d141408e6cec85c711ff64fe9c81
tree3f393fd50bd7eac0f9bf2d08cc8ce1f059446cde
parent6be55acedfd938fa608d3519f14675604d482d99
wireless: Print wiphy name in sysfs.

The index cannot be used to reliably reconstruct a phy
name, so explicitly add the phy name to sysfs so that scripts
can figure out the parent phy device for a particular
wireless interface.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/sysfs.c