Changeset dd8ab1c in mainline for uspace/drv/nic/ar9271/htc.c


Ignore:
Timestamp:
2017-12-10T21:08:11Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
68e5406
Parents:
1afa94d
Message:

More str_error() additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/ar9271/htc.c

    r1afa94d rdd8ab1c  
    3636#include <byteorder.h>
    3737#include <errno.h>
     38#include <str_error.h>
    3839#include "wmi.h"
    3940#include "htc.h"
     
    264265        if (rc != EOK) {
    265266                free(buffer);
    266                 usb_log_error("Failed to send HTC message. Error: %d\n", rc);
     267                usb_log_error("Failed to send HTC message. Error: %s\n", str_error_name(rc));
    267268                return rc;
    268269        }
     
    278279                free(buffer);
    279280                usb_log_error("Failed to receive HTC service connect response. "
    280                     "Error: %d\n", rc);
     281                    "Error: %s\n", str_error_name(rc));
    281282                return rc;
    282283        }
     
    331332                free(buffer);
    332333                usb_log_error("Failed to send HTC config message. "
    333                     "Error: %d\n", rc);
     334                    "Error: %s\n", str_error_name(rc));
    334335                return rc;
    335336        }
     
    344345        if (rc != EOK) {
    345346                usb_log_error("Failed to receive HTC config response message. "
    346                     "Error: %d\n", rc);
     347                    "Error: %s\n", str_error_name(rc));
    347348        }
    348349       
     
    376377        if (rc != EOK)
    377378                usb_log_error("Failed to send HTC setup complete message. "
    378                     "Error: %d\n", rc);
     379                    "Error: %s\n", str_error_name(rc));
    379380       
    380381        free(buffer);
     
    404405                free(buffer);
    405406                usb_log_error("Failed to receive HTC check ready message. "
    406                     "Error: %d\n", rc);
     407                    "Error: %s\n", str_error_name(rc));
    407408                return rc;
    408409        }
Note: See TracChangeset for help on using the changeset viewer.