android_kernel_xiaomi_sm8350/drivers/net/wireless
Stefano Brivio db9683fb19 b43legacy: rewrite and fix rfkill initialization
The rfkill subsystem doesn't like code like that
rfkill_allocate();
rfkill_register();
rfkill_unregister();
rfkill_register(); /* <- This will crash */

This sequence happens with
modprobe b43
ifconfig wlanX up
ifconfig wlanX down
ifconfig wlanX up

Fix this by always re-allocating the rfkill stuff before register.

The patch to b43 by Michael Buesch <mb@bu3sch.de> has been ported to
b43legacy.

Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-01-28 15:04:30 -08:00
..
b43 b43: consistent naming for ieee80211_ops 2008-01-28 15:03:31 -08:00
b43legacy b43legacy: rewrite and fix rfkill initialization 2008-01-28 15:04:30 -08:00
bcm43xx bcm43xx: mark as obsolete and schedule for removal 2008-01-28 14:55:35 -08:00
hostap [netdrvr] irq handler minor cleanups in several drivers 2008-01-28 15:03:40 -08:00
iwlwifi wireless: checkpatch cleanups 2008-01-28 15:04:04 -08:00
libertas wireless: checkpatch cleanups 2008-01-28 15:04:04 -08:00
prism54 wireless: fix '!x & y' typo's 2008-01-28 15:03:35 -08:00
rt2x00 rt2x00: Release rt2x00 2.0.12 2008-01-28 15:03:05 -08:00
zd1211rw wireless: fix '!x & y' typo's 2008-01-28 15:03:35 -08:00
adm8211.c
adm8211.h
airo_cs.c
airo.c wireless: checkpatch cleanups 2008-01-28 15:04:04 -08:00
airo.h
airport.c
arlan-main.c
arlan-proc.c
arlan.h
atmel_cs.c
atmel_pci.c
atmel.c wireless: checkpatch cleanups 2008-01-28 15:04:04 -08:00
atmel.h
hermes_rid.h
hermes.c
hermes.h
i82586.h
i82593.h
ipw2100.c netdev: ARRAY_SIZE() cleanups 2008-01-28 15:03:37 -08:00
ipw2100.h
ipw2200.c introduce WEXT scan capabilities 2008-01-28 14:58:25 -08:00
ipw2200.h
Kconfig Fix file references in documentation and Kconfig 2008-01-22 10:43:36 -08:00
Makefile iwlwifi: cleanup Kconfig and ifdefs to split 3945 and 4965 2008-01-28 15:03:25 -08:00
net2280.h
netwave_cs.c drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
orinoco_cs.c
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h
orinoco_plx.c
orinoco_tmd.c
orinoco.c orinoco: more reliable scan handling 2008-01-28 15:03:32 -08:00
orinoco.h orinoco: more reliable scan handling 2008-01-28 15:03:32 -08:00
p54.h
p54common.c wireless: fix '!x & y' typo's 2008-01-28 15:03:35 -08:00
p54common.h
p54pci.c P54: use temporary variables to reduce size of generated code 2008-01-28 15:03:33 -08:00
p54pci.h
p54usb.c drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
p54usb.h
ray_cs.c
ray_cs.h
rayctl.h
rtl818x.h
rtl8187_dev.c wireless: make drivers include the TSF RX flag where appropriate 2008-01-28 14:58:26 -08:00
rtl8187_rtl8225.c
rtl8187_rtl8225.h
rtl8187.h
spectrum_cs.c
strip.c
wavelan_cs.c wireless: checkpatch cleanups 2008-01-28 15:04:04 -08:00
wavelan_cs.h
wavelan_cs.p.h
wavelan.c netdev: ARRAY_SIZE() cleanups 2008-01-28 15:03:37 -08:00
wavelan.h
wavelan.p.h
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h