ipw2200: Fix order of device registration
authorBen Hutchings <ben@decadent.org.uk>
Sun, 22 Jan 2012 03:09:35 +0000 (03:09 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 May 2012 01:53:47 +0000 (21:53 -0400)
commitb4050790d0a6bfec76e2186d461123cf9586aa34
tree9516b421079070c0f154e66e015e0490074facd8
parentf2bd7f16e5ae50a26028b4244f7b9c8bba0c48d2
ipw2200: 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.

Reported-by: Cesare Leonardi <celeonar@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/ipw2200.c