Merge "soc: qcom: hab: sizebytes needs to be compared with buf size"
This commit is contained in:
commit
a8f403bf2e
1 changed files with 1 additions and 1 deletions
|
|
@ -979,7 +979,7 @@ int physical_channel_send(struct physical_channel *pchan,
|
|||
&lock_flags, &vpc->s_list,
|
||||
&vpc->out_wq, &vpc->s_cnt,
|
||||
nonblocking_flag);
|
||||
} else if (sizebytes <= OUT_MEDIUM_BUF_NUM) {
|
||||
} else if (sizebytes <= OUT_MEDIUM_BUF_SIZE) {
|
||||
hd = get_vh_buf_header(&vpc->lock[HAB_PCHAN_TX_VQ],
|
||||
&lock_flags, &vpc->m_list,
|
||||
&vpc->out_wq, &vpc->m_cnt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue