Ignore:
File:
1 edited

Legend:

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

    rcde999a r8a64320e  
    3636#include <byteorder.h>
    3737#include <errno.h>
    38 #include <str_error.h>
    3938#include "wmi.h"
    4039#include "htc.h"
     
    150149 * @param endpoint_id Destination endpoint.
    151150 *
    152  * @return EOK if succeed, error code otherwise.
     151 * @return EOK if succeed, negative error code otherwise.
    153152 *
    154153 */
     
    173172 * @param endpoint_id Destination endpoint.
    174173 *
    175  * @return EOK if succeed, error code otherwise.
     174 * @return EOK if succeed, negative error code otherwise.
    176175 *
    177176 */
     
    196195 * @param transferred_size Real size of read data.
    197196 *
    198  * @return EOK if succeed, error code otherwise.
     197 * @return EOK if succeed, negative error code otherwise.
    199198 *
    200199 */
     
    216215 * @param transferred_size Real size of read data.
    217216 *
    218  * @return EOK if succeed, error code otherwise.
     217 * @return EOK if succeed, negative error code otherwise.
    219218 *
    220219 */
     
    236235 *
    237236 * @return EOK if succeed, EINVAL when failed to connect service,
    238  *         error code otherwise.
     237 *         negative error code otherwise.
    239238 *
    240239 */
     
    265264        if (rc != EOK) {
    266265                free(buffer);
    267                 usb_log_error("Failed to send HTC message. Error: %s\n", str_error_name(rc));
     266                usb_log_error("Failed to send HTC message. Error: %d\n", rc);
    268267                return rc;
    269268        }
     
    279278                free(buffer);
    280279                usb_log_error("Failed to receive HTC service connect response. "
    281                     "Error: %s\n", str_error_name(rc));
     280                    "Error: %d\n", rc);
    282281                return rc;
    283282        }
     
    309308 * @param htc_device HTC device structure.
    310309 *
    311  * @return EOK if succeed, error code otherwise.
     310 * @return EOK if succeed, negative error code otherwise.
    312311 *
    313312 */
     
    332331                free(buffer);
    333332                usb_log_error("Failed to send HTC config message. "
    334                     "Error: %s\n", str_error_name(rc));
     333                    "Error: %d\n", rc);
    335334                return rc;
    336335        }
     
    345344        if (rc != EOK) {
    346345                usb_log_error("Failed to receive HTC config response message. "
    347                     "Error: %s\n", str_error_name(rc));
     346                    "Error: %d\n", rc);
    348347        }
    349348       
     
    357356 * @param htc_device HTC device structure.
    358357 *
    359  * @return EOK if succeed, error code otherwise.
     358 * @return EOK if succeed, negative error code otherwise.
    360359 *
    361360 */
     
    377376        if (rc != EOK)
    378377                usb_log_error("Failed to send HTC setup complete message. "
    379                     "Error: %s\n", str_error_name(rc));
     378                    "Error: %d\n", rc);
    380379       
    381380        free(buffer);
     
    391390 *
    392391 * @return EOK if succeed, EINVAL if response error,
    393  *         error code otherwise.
     392 *         negative error code otherwise.
    394393 *
    395394 */
     
    405404                free(buffer);
    406405                usb_log_error("Failed to receive HTC check ready message. "
    407                     "Error: %s\n", str_error_name(rc));
     406                    "Error: %d\n", rc);
    408407                return rc;
    409408        }
     
    427426 * @param htc_device HTC device structure to be initialized.
    428427 *
    429  * @return EOK if succeed, error code otherwise.
     428 * @return EOK if succeed, negative error code otherwise.
    430429 *
    431430 */
     
    448447 * @param htc_device HTC device structure.
    449448 *
    450  * @return EOK if succeed, error code otherwise.
     449 * @return EOK if succeed, negative error code otherwise.
    451450 *
    452451 */
Note: See TracChangeset for help on using the changeset viewer.