summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-08-23 19:44:17 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-01 15:44:01 (GMT)
commitdb0c12744f8d7ab3d5cbeb80c6705bc8134d5f53 (patch)
treed7b3cd1aa0176620cbc6f24383605c439b80f021 /drivers
parent5c2ba8b85e350678b96db57cc8972deb9e47c497 (diff)
downloadlinux-db0c12744f8d7ab3d5cbeb80c6705bc8134d5f53.tar.xz
drivers: staging: rtl8723au: hal: Remove pointless test
This patch removes the pointless `else if` test. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Reported-by: David Binderman <linuxdev.baldrick@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c b/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c
index 6989580..47e8d69 100644
--- a/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c
+++ b/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c
@@ -3530,7 +3530,7 @@ bthci_CmdLinkStatusNotify(
pBtMgnt->ExtConfig.linkInfo[i].BTProfile,
pBtMgnt->ExtConfig.linkInfo[i].BTCoreSpec));
pTriple += 4;
- } else if (pBtMgnt->ExtConfig.HCIExtensionVer >= 1) {
+ } else {
pBtMgnt->ExtConfig.linkInfo[i].ConnectHandle = *((u16 *)&pTriple[0]);
pBtMgnt->ExtConfig.linkInfo[i].BTProfile = pTriple[2];
pBtMgnt->ExtConfig.linkInfo[i].BTCoreSpec = pTriple[3];