Ignore:
File:
1 edited

Legend:

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

    rdd8ab1c r582a0b8  
    3333 */
    3434
    35 #include <async.h>
    3635#include <ieee80211.h>
    3736#include <usb/classes/classes.h>
     
    4241#include <ddf/interrupt.h>
    4342#include <errno.h>
    44 #include <str_error.h>
    4543#include <nic.h>
    4644#include <macros.h>
     45#include <thread.h>
    4746#include "ath_usb.h"
    4847#include "wmi.h"
     
    785784                        free(buffer);
    786785                        usb_log_error("Error while uploading firmware. "
    787                             "Error: %s\n", str_error_name(rc));
     786                            "Error: %d\n", rc);
    788787                        return rc;
    789788                }
     
    819818       
    820819        /* Wait until firmware is ready - wait for 1 second to be sure. */
    821         async_sleep(1);
     820        thread_sleep(1);
    822821       
    823822        return rc;
     
    837836        if (rc != EOK) {
    838837                usb_log_error("Failed to create USB device: %s, "
    839                     "ERR_NUM = %s\n", err_msg, str_error_name(rc));
     838                    "ERR_NUM = %d\n", err_msg, rc);
    840839                return NULL;
    841840        }
     
    854853        if (rc != EOK) {
    855854                free(ar9271);
    856                 usb_log_error("Failed to initialize AR9271 structure: %s\n",
    857                     str_error_name(rc));
     855                usb_log_error("Failed to initialize AR9271 structure: %d\n",
     856                    rc);
    858857                return NULL;
    859858        }
Note: See TracChangeset for help on using the changeset viewer.