fix:mqtt:fix the mqtt subscribe porting returning code
@@ -627,8 +627,11 @@ static int __subscribe(void *handle,mqtt_al_subpara_t *para)
general_dealer,&ack,para->dealer))
{
para->subret = ack.grantedQoS;
+ if((ack.grantedQoS == QOS0)|| (ack.grantedQoS == QOS1 ) || (ack.grantedQoS == QOS2 ) )
+ {
ret = 0;
}
+ }
return ret;
}
