diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
index 25de46c..adddc33 100644
--- a/profiles/network/bnep.c
+++ b/profiles/network/bnep.c
/* Processing BNEP_SETUP_CONNECTION_REQUEST_MSG */
rsp = bnep_setup_decode(sk, req, &dst);
- if (rsp != BNEP_SUCCESS || !dst) {
- err = -rsp;
+ if (rsp != BNEP_SUCCESS) {
error("bnep: error while decoding setup connection request: %d",
rsp);
goto reply;
}
- if (!dst) {
- error("bnep: cannot decode proper destination service UUID");
- rsp = BNEP_CONN_INVALID_DST;
- goto reply;
- }
-
err = bnep_connadd(sk, dst, iface);
if (err < 0) {
rsp = BNEP_CONN_NOT_ALLOWED;