ipw2100: Fix order of device registration
authorBen Hutchings <ben@decadent.org.uk>
Sun, 22 Jan 2012 03:11:12 +0000 (03:11 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 May 2012 01:53:47 +0000 (21:53 -0400)
commite19d8baf8cfcc0b96d7578a22801d16400d877bd
treeb22abe74bd86c1c71c950902f810661254c1167f
parentb4050790d0a6bfec76e2186d461123cf9586aa34
ipw2100: Fix order of device registration

Currently cfg80211 fails to create a "phy80211" symlink in sysfs from
the net device to the wiphy device.  The latter needs to be registered
first.

Compile-tested only.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/ipw2100.c