Changes in uspace/drv/nic/ar9271/ar9271.c [dd8ab1c:582a0b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ar9271/ar9271.c
rdd8ab1c r582a0b8 33 33 */ 34 34 35 #include <async.h>36 35 #include <ieee80211.h> 37 36 #include <usb/classes/classes.h> … … 42 41 #include <ddf/interrupt.h> 43 42 #include <errno.h> 44 #include <str_error.h>45 43 #include <nic.h> 46 44 #include <macros.h> 45 #include <thread.h> 47 46 #include "ath_usb.h" 48 47 #include "wmi.h" … … 785 784 free(buffer); 786 785 usb_log_error("Error while uploading firmware. " 787 "Error: % s\n", str_error_name(rc));786 "Error: %d\n", rc); 788 787 return rc; 789 788 } … … 819 818 820 819 /* Wait until firmware is ready - wait for 1 second to be sure. */ 821 async_sleep(1);820 thread_sleep(1); 822 821 823 822 return rc; … … 837 836 if (rc != EOK) { 838 837 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); 840 839 return NULL; 841 840 } … … 854 853 if (rc != EOK) { 855 854 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); 858 857 return NULL; 859 858 }
Note:
See TracChangeset
for help on using the changeset viewer.