|
@@ -234,7 +234,7 @@ static int hdd_parse_setrmcenable_command(uint8_t *pValue,
|
|
|
if ('\0' == *inPtr)
|
|
|
return 0;
|
|
|
|
|
|
- v = sscanf(inPtr, "%32s ", buf);
|
|
|
+ v = sscanf(inPtr, "%31s ", buf);
|
|
|
if (1 != v)
|
|
|
return -EINVAL;
|
|
|
|
|
@@ -272,7 +272,7 @@ static int hdd_parse_setrmcactionperiod_command(uint8_t *pValue,
|
|
|
if ('\0' == *inPtr)
|
|
|
return 0;
|
|
|
|
|
|
- v = sscanf(inPtr, "%32s ", buf);
|
|
|
+ v = sscanf(inPtr, "%31s ", buf);
|
|
|
if (1 != v)
|
|
|
return -EINVAL;
|
|
|
|