sysprog21 / vwifi

A virtual wireless device driver for Linux
MIT License
205 stars 39 forks source link

revert: eth_hw_addr_set not existent in older version #42

Closed rickywu0421 closed 1 year ago

rickywu0421 commented 1 year ago

In PR #40, we have avoided directly accessing the ndev->dev_addr by replacing it with the helper function eth_hw_addr_set(). But this function only exists after Linux version 5.15-rc1. Keep the direct access to ndev->dev_addr when we're in the older Linux version.