Changeset dd8ab1c in mainline for uspace/drv/nic/ar9271/htc.c
- Timestamp:
- 2017-12-10T21:08:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68e5406
- Parents:
- 1afa94d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ar9271/htc.c
r1afa94d rdd8ab1c 36 36 #include <byteorder.h> 37 37 #include <errno.h> 38 #include <str_error.h> 38 39 #include "wmi.h" 39 40 #include "htc.h" … … 264 265 if (rc != EOK) { 265 266 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)); 267 268 return rc; 268 269 } … … 278 279 free(buffer); 279 280 usb_log_error("Failed to receive HTC service connect response. " 280 "Error: % d\n", rc);281 "Error: %s\n", str_error_name(rc)); 281 282 return rc; 282 283 } … … 331 332 free(buffer); 332 333 usb_log_error("Failed to send HTC config message. " 333 "Error: % d\n", rc);334 "Error: %s\n", str_error_name(rc)); 334 335 return rc; 335 336 } … … 344 345 if (rc != EOK) { 345 346 usb_log_error("Failed to receive HTC config response message. " 346 "Error: % d\n", rc);347 "Error: %s\n", str_error_name(rc)); 347 348 } 348 349 … … 376 377 if (rc != EOK) 377 378 usb_log_error("Failed to send HTC setup complete message. " 378 "Error: % d\n", rc);379 "Error: %s\n", str_error_name(rc)); 379 380 380 381 free(buffer); … … 404 405 free(buffer); 405 406 usb_log_error("Failed to receive HTC check ready message. " 406 "Error: % d\n", rc);407 "Error: %s\n", str_error_name(rc)); 407 408 return rc; 408 409 }
Note:
See TracChangeset
for help on using the changeset viewer.