Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c3327bde authored by Dan Carpenter's avatar Dan Carpenter Committed by Johan Hedberg
Browse files

Bluetooth: btrtl: Fix a error code in rtl_load_config()



We accidentally return success if the kmemdup() fails.  It results in
a NULL dereference in the caller.

Fixes: 1110a2db ("Bluetooth: btrtl: Add RTL8822BE Bluetooth device")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 98b57984
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment