Changeset 3a4c6d9 in mainline for uspace/drv/nic/rtl8139


Ignore:
Timestamp:
2025-11-14T16:58:23Z (7 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
1ec732a, 43ef144, 7101dfb, e998d98
Parents:
d101368
git-author:
Nataliia Korop <n.corop08@…> (2025-11-14 16:57:02)
git-committer:
Jiri Svoboda <jiri@…> (2025-11-14 16:58:23)
Message:

Packet capture (thx Nataliia Korop)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/rtl8139/driver.c

    rd101368 r3a4c6d9  
    13131313                goto err_fun_create;
    13141314        }
    1315         rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);
     1315
     1316        rc = nic_fun_add_to_cats(fun);
    13161317        if (rc != EOK) {
    1317                 ddf_msg(LVL_ERROR, "Failed adding function to category");
    1318                 goto err_fun_bind;
     1318                ddf_msg(LVL_ERROR, "Failed adding function to categories");
     1319                ddf_fun_unbind(fun);
     1320                return rc;
    13191321        }
    13201322
     
    13241326        return EOK;
    13251327
    1326 err_fun_bind:
    1327         ddf_fun_unbind(fun);
     1328        // err_fun_bind:
     1329        // ddf_fun_unbind(fun);
    13281330err_fun_create:
    13291331        ddf_fun_destroy(fun);
Note: See TracChangeset for help on using the changeset viewer.