Commit 7020e63d authored by Angus Ainslie's avatar Angus Ainslie Committed by Martin Kepplinger
Browse files

net: wireless: redpine: can't use BT dual on newer firmwares



Firmware 2.0024 broke BLE
Signed-off-by: default avatarAngus Ainslie <angus@akkea.ca>
parent b53cea2f
......@@ -1819,9 +1819,14 @@ static int rsi_load_firmware(struct rsi_hw *adapter)
int rsi_validate_oper_mode(u16 oper_mode)
{
#if defined(CONFIG_RS9116_PURISM)
if ((oper_mode == 13) || (oper_mode == 14))
if ((oper_mode == 5) || (oper_mode == 6))
return 0;
else {
if ((oper_mode == 13) || (oper_mode == 14)) {
redpine_dbg(ERR_ZONE,
"Operating mode %d is only supported prior to firmware 2.x\n",
oper_mode);
return 0;
} else {
redpine_dbg(ERR_ZONE,
"Operating mode %d is not supported, "
"it should be either 13 or 14\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment