value&0x03 does not need to be shifted to the right by two.

cut-n-paste bug from a few lines above where value&0x0c do need to be shifted by two
before printing as a value

coverity 342


svn path=/trunk/; revision=36278
This commit is contained in:
Ronnie Sahlberg 2011-03-23 06:50:09 +00:00
parent 691c566900
commit 0832de6b8e
1 changed files with 1 additions and 1 deletions

View File

@ -3179,7 +3179,7 @@ dissect_ff_msg_sm_set_assign_info_req_dev_redundancy_state(tvbuff_t *tvb,
decode_enumerated_bitfield(value, 0x03, 8,
names_assigned_redundant_dev_type,
"Assigned Device Redundancy Type: %s"),
(value & 0x03) >> 2);
value & 0x03);
return;
}