xpp: Fix a logical not being applied to the wrong operand
gcc 5 found this with the new -Werror=logical-not-parenthesis warning. Since we have -Wall by default, it would also fail the compile. Internal-Issue-ID: DAHLIN-347 Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com> Acked-by: Shaun Ruffell <sruffell@digium.com>
This commit is contained in:
parent
10c1cd196e
commit
9a181ccfbc
@ -512,7 +512,7 @@ int mpp_send_seg(struct astribank_device *astribank, const uint8_t *data, uint16
|
||||
|
||||
assert(astribank != NULL);
|
||||
xtalk_dev = astribank->xtalk_dev;
|
||||
if(!astribank->burn_state == BURN_STATE_STARTED) {
|
||||
if(astribank->burn_state != BURN_STATE_STARTED) {
|
||||
ERR("Tried to send a segment while burn_state=%d\n",
|
||||
astribank->burn_state);
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user