Am 25.07.2016 21:17, schrieb Lino Sanfilippo:
>>  
>> -                    if (strncasecmp(buff, "RSSI", length) == 0) {
>> +                    if (strncasecmp(buff, "RSSI", 0) == 0) {
>> +                            s8 rssi;
>> +
> 
> Um, please think a second about if it makes any sense at all to compare 
> zero chars of two strings.
> 
> Lino

also:
the switch has only one case and default.

re,
 wh
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to