L2CAP_LM_AUTH
sockopt_setint(&sc->sc_mode, L2CAP_LM_AUTH);
if ((mode & L2CAP_LM_AUTH) && !(new & L2CAP_LM_AUTH))
if (ISSET(mode, L2CAP_LM_AUTH) && !ISSET(new, L2CAP_LM_AUTH))
sockopt_setint(&sc->sc_mode, L2CAP_LM_AUTH);
mode |= L2CAP_LM_AUTH;
(chan->lc_mode & L2CAP_LM_AUTH ? "yes" : "no"),
if (chan->lc_mode & L2CAP_LM_AUTH)
(new & L2CAP_LM_AUTH ? "on" : "off"),
if (((mode & L2CAP_LM_AUTH) && !(new & L2CAP_LM_AUTH))
mode &= (L2CAP_LM_SECURE | L2CAP_LM_ENCRYPT | L2CAP_LM_AUTH);
mode |= L2CAP_LM_AUTH;
mode |= L2CAP_LM_AUTH;
(new & L2CAP_LM_AUTH ? "on" : "off"),
if (new & L2CAP_LM_AUTH)
ch = L2CAP_LM_AUTH;
l2cap_mode = L2CAP_LM_AUTH;
l2cap_mode = L2CAP_LM_AUTH;
sdp_put_uint16(&buf, (l2cap_mode & L2CAP_LM_AUTH) ? 0x0001 : 0x0000);