diff options
author | Martin Kaiser <[email protected]> | 2022-11-26 17:01:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-12-05 13:28:59 +0100 |
commit | fa205589d5e9fc2d1b2f8d31f665152da04160bc (patch) | |
tree | 32a39cf476445472751bb0375f7574c80fb8e773 /lib/mpi/mpi-sub-ui.c | |
parent | 32634359a9c3d70cbf01af0ae87b27d8c0e1ebe3 (diff) |
staging: r8188eu: stop beacon processing if kmalloc fails
If we cannot allocate a struct wlan_bssid_ex in the OnBeacon function, we
should stop processing the incoming beacon message and return.
For kmalloc failures, the current code just skips the update of network
and beacon info and tries to continue with the authentication. The update
would set the encryption algorithm that should be used for the
authentication.
Tested-by: Philipp Hortmann <[email protected]> # Edimax N150
Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions