Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e2432c40 authored by Saket Saurabh's avatar Saket Saurabh
Browse files

u_rmnet_ctrl_qti: Add correct check for validating the port number



This change adds correct check for validating the port number to
be used. The max value of port number defined is NR_QTI_PORTS.
So the permitted range of port number to be used is from zero
to (NR_QTI_PORTS-1). Any value of port number outside this range
(i.e. value greater than and equal to NR_QTI_PORTS) is to be marked
as invalid port.

CRs-Fixed: 562195
Change-Id: I655956fda7071c84a15c3f3d1f637aa6120ff645
Signed-off-by: default avatarSaket Saurabh <ssaurabh@codeaurora.org>
parent 61a09d4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment