mwifiex/mlinux
Ji Luo 51328249e3 MA-22773 fix panic when shutting down
The "card->handle" could be null if any wifi error
happened before. Need to check the "card->handle"
before we try to access it, or below kernel panic
would happen:
	[2024-08-16 02:05:27] [13042.551314][    T1] Call trace:
	[2024-08-16 02:05:27] [13042.554541][    T1] woal_pcie_shutdown+0x34/0xe8 [moal 056f086fd2e165369160d7a4749320d91d2cdde0]
	[2024-08-16 02:05:27] [13042.563612][    T1] pci_device_shutdown+0x4c/0x60
	[2024-08-16 02:05:27] [13042.568494][    T1] device_shutdown+0x1ac/0x270
	[2024-08-16 02:05:27] [13042.573199][    T1]  kernel_restart+0x40/0x114
	[2024-08-16 02:05:27] [13042.577735][    T1] __arm64_sys_reboot+0x19c/0x26c
	[2024-08-16 02:05:27] [13042.582702][    T1]  invoke_syscall+0x58/0x114
	[2024-08-16 02:05:27] [13042.587235][    T1]  el0_svc_common+0xac/0xe0
	[2024-08-16 02:05:27] [13042.591681][    T1]  do_el0_svc+0x1c/0x28
	[2024-08-16 02:05:27] [13042.595780][    T1]  el0_svc+0x38/0x68
	[2024-08-16 02:05:27] [13042.599616][    T1] el0t_64_sync_handler+0x68/0xbc
	[2024-08-16 02:05:27] [13042.604581][    T1]  el0t_64_sync+0x1a8/0x1ac
	[2024-08-16 02:05:27] [13042.609027][    T1] Code: f940ae68 b4000168 f9400514 528da408 (38686a88)
	[2024-08-16 02:05:27] [13042.615901][    T1] ---[ end trace 0000000000000000 ]---

Change-Id: Idec523c970c9c9bc53ee4a08ed40cb5dccf05309
Signed-off-by: Ji Luo <ji.luo@nxp.com>
2024-08-20 17:04:47 +09:00
..
mlan.h MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
mlan_decl.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
mlan_ieee.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
mlan_ioctl.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_cfg80211.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_cfg80211.h MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_cfg80211_util.c MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_cfg80211_util.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_debug.c MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_eth_ioctl.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_eth_ioctl.h MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_init.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_ioctl.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_main.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_main.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_pcie.c MA-22773 fix panic when shutting down 2024-08-20 17:04:47 +09:00
moal_pcie.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_priv.c MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_priv.h MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_proc.c MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_sdio.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_sdio_mmc.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_shim.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_shim.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_sta_cfg80211.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_sta_cfg80211.h MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_uap.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_uap.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_uap_cfg80211.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_uap_cfg80211.h MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_uap_priv.c MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_uap_priv.h MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_uap_wext.c MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_usb.c MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_usb.h MA-22742 2024 Q3 WCS WiFi/BT patch integrate 2024-08-09 12:30:19 +00:00
moal_wext.c MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00
moal_wext.h MA-22420 [All platform] move all WiFi drvier code to repo root path 2024-05-10 15:55:49 +00:00