Lines Matching refs:rem_len
784 UINT8 *bnep_process_control_packet (tBNEP_CONN *p_bcb, UINT8 *p, UINT16 *rem_len, BOOLEAN is_ext) in bnep_process_control_packet() argument
793 *rem_len = *rem_len - 1; in bnep_process_control_packet()
797 *rem_len = *rem_len - 1; in bnep_process_control_packet()
799 … ("BNEP processing control packet rem_len %d, is_ext %d, ctrl_type %d", *rem_len, is_ext, control_… in bnep_process_control_packet()
806 *rem_len = *rem_len - 1; in bnep_process_control_packet()
811 if (*rem_len < ((2 * len) + 1)) in bnep_process_control_packet()
820 *rem_len = *rem_len - (2 * len) - 1; in bnep_process_control_packet()
827 *rem_len = *rem_len - 2; in bnep_process_control_packet()
832 if (*rem_len < (len + 2)) in bnep_process_control_packet()
840 *rem_len = *rem_len - len - 2; in bnep_process_control_packet()
846 *rem_len = *rem_len - 2; in bnep_process_control_packet()
851 if (*rem_len < (len + 2)) in bnep_process_control_packet()
859 *rem_len = *rem_len - len - 2; in bnep_process_control_packet()
865 *rem_len = *rem_len - 2; in bnep_process_control_packet()
874 *rem_len -= (ext_len - 1); in bnep_process_control_packet()
881 BNEP_TRACE_ERROR ("BNEP - bad ctl pkt length: %d", *rem_len); in bnep_process_control_packet()
882 *rem_len = 0; in bnep_process_control_packet()