Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ieee80211/src/ieee80211_impl.c

    rb7fd2a0 r8a64320e  
    4949 *
    5050 */
    51 errno_t ieee80211_start_impl(ieee80211_dev_t *ieee80211_dev)
     51int ieee80211_start_impl(ieee80211_dev_t *ieee80211_dev)
    5252{
    5353        return EOK;
     
    6363 *
    6464 */
    65 errno_t ieee80211_tx_handler_impl(ieee80211_dev_t *ieee80211_dev, void *buffer,
     65int ieee80211_tx_handler_impl(ieee80211_dev_t *ieee80211_dev, void *buffer,
    6666    size_t buffer_size)
    6767{
     
    7777 *
    7878 */
    79 errno_t ieee80211_set_freq_impl(ieee80211_dev_t *ieee80211_dev, uint16_t freq)
     79int ieee80211_set_freq_impl(ieee80211_dev_t *ieee80211_dev, uint16_t freq)
    8080{
    8181        return EOK;
     
    8989 *
    9090 */
    91 errno_t ieee80211_bssid_change_impl(ieee80211_dev_t *ieee80211_dev,
     91int ieee80211_bssid_change_impl(ieee80211_dev_t *ieee80211_dev,
    9292    bool connected)
    9393{
     
    102102 *
    103103 */
    104 errno_t ieee80211_key_config_impl(ieee80211_dev_t *ieee80211_dev,
     104int ieee80211_key_config_impl(ieee80211_dev_t *ieee80211_dev,
    105105    ieee80211_key_config_t *key_conf, bool insert)
    106106{
     
    113113 * @param clear         Whether to clear current scan results.
    114114 *
    115  * @return EOK if succeed, error code otherwise.
    116  *
    117  */
    118 errno_t ieee80211_scan_impl(ieee80211_dev_t *ieee80211_dev)
     115 * @return EOK if succeed, negative error code otherwise.
     116 *
     117 */
     118int ieee80211_scan_impl(ieee80211_dev_t *ieee80211_dev)
    119119{
    120120        fibril_mutex_lock(&ieee80211_dev->scan_mutex);
     
    178178 *
    179179 */
    180 errno_t ieee80211_prf(uint8_t *key, uint8_t *data, uint8_t *hash,
     180int ieee80211_prf(uint8_t *key, uint8_t *data, uint8_t *hash,
    181181    size_t output_size)
    182182{
     
    212212}
    213213
    214 errno_t ieee80211_rc4_key_unwrap(uint8_t *key, uint8_t *data, size_t data_size,
     214int ieee80211_rc4_key_unwrap(uint8_t *key, uint8_t *data, size_t data_size,
    215215    uint8_t *output)
    216216{
     
    218218}
    219219
    220 errno_t ieee80211_aes_key_unwrap(uint8_t *kek, uint8_t *data, size_t data_size,
     220int ieee80211_aes_key_unwrap(uint8_t *kek, uint8_t *data, size_t data_size,
    221221    uint8_t *output)
    222222{
     
    285285}
    286286
    287 errno_t ieee80211_michael_mic(uint8_t *key, uint8_t *buffer, size_t size,
     287int ieee80211_michael_mic(uint8_t *key, uint8_t *buffer, size_t size,
    288288    uint8_t *mic)
    289289{
     
    372372}
    373373
    374 errno_t rnd_sequence(uint8_t *sequence, size_t length)
     374int rnd_sequence(uint8_t *sequence, size_t length)
    375375{
    376376        if (!sequence)
Note: See TracChangeset for help on using the changeset viewer.