mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
30d3db44bb
The condition wouldn't have previously caused -ENOENT to be returned if dev was NULL. The proper condition should be if (!dev || !dev->netdev). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>