linux_dsm_epyc7002/drivers/net/wireless/ipw2x00
Stanislaw Gruszka 7cabafcea7 ipw2x00: fix rtnl mutex deadlock
This fix regression introduced by:

commit: ecb4433550
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Fri Aug 12 14:00:59 2011 +0200

    mac80211: fix suspend/resume races with unregister hw

Above commit add rtnl_lock() into wiphy_register(), what cause deadlock
when initializing ipw2x00 driver, which itself call wiphy_register()
from register_netdev() internal callback with rtnl mutex taken.

To fix move wiphy_register() outside register_netdev(). This solution
have side effect of not creating /sys/class/net/wlanX/phy80211 link,
but that's a minor issue we can live with.

Bisected-by: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
Bisected-by: Michael Witten <mfwitten@gmail.com>
Tested-by: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
Tested-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-09-16 15:32:09 -04:00
..
ipw2100.c ipw2x00: fix rtnl mutex deadlock 2011-09-16 15:32:09 -04:00
ipw2100.h wireless/ipw2x00: use system_wq instead of dedicated workqueues 2011-01-26 12:12:50 +01:00
ipw2200.c ipw2x00: fix rtnl mutex deadlock 2011-09-16 15:32:09 -04:00
ipw2200.h net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
Kconfig
libipw_geo.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
libipw_module.c ipw2x00: remove the right /proc/net entry 2010-11-05 18:57:04 -07:00
libipw_rx.c net/wireless: ipw2x00: Use helpers from linux/etherdevice.h 2011-07-04 20:27:30 -07:00
libipw_tx.c lib80211: remove unused host_build_iv option 2010-07-26 15:09:04 -04:00
libipw_wx.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
libipw.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6 2010-07-27 11:59:19 -04:00
Makefile