lte/alt1250: Change error code from ENOTSUP to EAFNOSUPPORT
ENOTSUP is now a special error code to fallback to the kernel network stack. Therefore, change the error code from ENOTSUP to EAFNOSUPPORT.
This commit is contained in:
parent
5cbd9b2b7b
commit
719d03a8c1
@ -728,7 +728,7 @@ int alt1250_sms_init(FAR struct alt1250_s *dev, FAR struct usock_s *usock,
|
||||
if (IS_SMS_UNAVAIL_FWVERSION(dev))
|
||||
{
|
||||
dbg_alt1250("This ALT1250 FW version does not support SMS.\n");
|
||||
*usock_result = -ENOTSUP;
|
||||
*usock_result = -EAFNOSUPPORT;
|
||||
return REP_SEND_ACK_WOFREE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user