wireless: Use first phyX name available when registering phy devices.
commit5a254ffe3ffdfa84fe076009bd8e88da412180d2
authorBen Greear <greearb@candelatech.com>
Mon, 27 Sep 2010 16:07:26 +0000 (27 09:07 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:35:21 +0000 (5 13:35 -0400)
tree31e2263807b442d507d98d7d5b1c53bf0b0702c2
parentb1a9338d5eaa9c38c326e20ce339247f4d585b62
wireless: Use first phyX name available when registering phy devices.

Choose first available phyX name when creating phy devices.  This
means that reloading a wifi driver will not cause a change in the
name of it's phy device.

Also, allow users to rename a phy to any un-used name, including
phy%d.

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