Changes in uspace/drv/nic/ar9271/wmi.c [cde999a:fb1007ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ar9271/wmi.c
rcde999a rfb1007ef 35 35 #include <usb/debug.h> 36 36 #include <errno.h> 37 #include <str_error.h> 38 #include <stdlib.h> 37 #include <malloc.h> 39 38 #include <mem.h> 40 39 #include <byteorder.h> … … 47 46 * @param res Stored result. 48 47 * 49 * @return EOK if succeed, error code otherwise.48 * @return EOK if succeed, negative error code otherwise. 50 49 * 51 50 */ … … 79 78 * @param val Value to be written 80 79 * 81 * @return EOK if succeed, error code otherwise.80 * @return EOK if succeed, negative error code otherwise. 82 81 * 83 82 */ … … 112 111 * @param clear_bit Bit to be cleared. 113 112 * 114 * @return EOK if succeed, error code otherwise.113 * @return EOK if succeed, negative error code otherwise. 115 114 * 116 115 */ … … 146 145 * @param set_bit Bit to be set. 147 146 * 148 * @return EOK if succeed, error code otherwise.147 * @return EOK if succeed, negative error code otherwise. 149 148 * 150 149 */ … … 161 160 * @param clear_bit Bit to be cleared. 162 161 * 163 * @return EOK if succeed, error code otherwise.162 * @return EOK if succeed, negative error code otherwise. 164 163 * 165 164 */ … … 176 175 * @param elements Number of elements in array. 177 176 * 178 * @return EOK if succeed, error code otherwise.177 * @return EOK if succeed, negative error code otherwise. 179 178 * 180 179 */ … … 220 219 * @param response_buffer Buffer with response data. 221 220 * 222 * @return EOK if succeed, error code otherwise.221 * @return EOK if succeed, negative error code otherwise. 223 222 * 224 223 */ … … 246 245 if (rc != EOK) { 247 246 free(buffer); 248 usb_log_error("Failed to send WMI message. Error: % s\n", str_error_name(rc));247 usb_log_error("Failed to send WMI message. Error: %d\n", rc); 249 248 return rc; 250 249 } … … 269 268 free(buffer); 270 269 usb_log_error("Failed to receive WMI message response. " 271 "Error: % s\n", str_error_name(rc));270 "Error: %d\n", rc); 272 271 return rc; 273 272 }
Note:
See TracChangeset
for help on using the changeset viewer.