Skip to content

libwifi: nlwifi: Fix phy to netdev

Marek Puzyniak requested to merge fix-phy-with-multinetdevs into devel

Function to get netdev from phy sometimes returns wrong netdev when /sys/class/ieee80211/phyX/device/net/ lists all netdevs. To prevent this additional check is needed to be sure that particular netdev belongs to phy we are looking for.

Signed-off-by: Marek Puzyniak marek.puzyniak@iopsys.eu

@anjancx @janusz @LukaszK Please take a look.

Merge request reports