Commit db0c1274 authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

drivers: staging: rtl8723au: hal: Remove pointless test

This patch removes the pointless `else if` test.
Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Reported-by: default avatarDavid Binderman <linuxdev.baldrick@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5c2ba8b8
...@@ -3530,7 +3530,7 @@ bthci_CmdLinkStatusNotify( ...@@ -3530,7 +3530,7 @@ bthci_CmdLinkStatusNotify(
pBtMgnt->ExtConfig.linkInfo[i].BTProfile, pBtMgnt->ExtConfig.linkInfo[i].BTProfile,
pBtMgnt->ExtConfig.linkInfo[i].BTCoreSpec)); pBtMgnt->ExtConfig.linkInfo[i].BTCoreSpec));
pTriple += 4; pTriple += 4;
} else if (pBtMgnt->ExtConfig.HCIExtensionVer >= 1) { } else {
pBtMgnt->ExtConfig.linkInfo[i].ConnectHandle = *((u16 *)&pTriple[0]); pBtMgnt->ExtConfig.linkInfo[i].ConnectHandle = *((u16 *)&pTriple[0]);
pBtMgnt->ExtConfig.linkInfo[i].BTProfile = pTriple[2]; pBtMgnt->ExtConfig.linkInfo[i].BTProfile = pTriple[2];
pBtMgnt->ExtConfig.linkInfo[i].BTCoreSpec = pTriple[3]; pBtMgnt->ExtConfig.linkInfo[i].BTCoreSpec = pTriple[3];
......
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