diff options
| author | Ajay Singh <ajay.kathat@microchip.com> | 2022-05-04 16:19:26 +0000 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2022-05-11 08:25:33 +0300 |
| commit | 868f0e28290c7a33e8cb79bfe97ebdcbb756e048 (patch) | |
| tree | 94509d2220d01585987f863b7907cd4d4c36713a /tools/perf/scripts | |
| parent | wilc1000: use fixed function base register value to access SDIO_FBR_ENABLE_CSA (diff) | |
| download | linux-868f0e28290c7a33e8cb79bfe97ebdcbb756e048.tar.gz linux-868f0e28290c7a33e8cb79bfe97ebdcbb756e048.zip | |
wilc1000: fix crash observed in AP mode with cfg80211_register_netdevice()
Monitor(mon.) interface is used for handling the AP mode and 'ieee80211_ptr'
reference is not getting set for it. Like earlier implementation,
use register_netdevice() instead of cfg80211_register_netdevice() which
expects valid 'ieee80211_ptr' reference to avoid the possible crash.
Fixes: 2fe8ef106238 ("cfg80211: change netdev registration/unregistration semantics")
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220504161924.2146601-3-ajay.kathat@microchip.com
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
