]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix determining phy name for P2P Device
authorArend van Spriel <arend@broadcom.com>
Sun, 30 Jun 2013 07:34:48 +0000 (10:34 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 30 Jun 2013 07:50:13 +0000 (10:50 +0300)
commit5fbcb45daf0b396055f5260afc6043bf8b3823ca
tree830c74109c0895cc4a940d239b854ef8e1152b19
parent27ce1d64c493fd969bf803b4ee8d3aeedbd4c166
nl80211: Fix determining phy name for P2P Device

The phy name was determined using /sys/class/net/<ifname> but the P2P
Device is not listed there since it does not have an associated net
device. This patch changes name determination to obtain the name from
the wiphy information provide by nl80211.

Signed-hostap: Arend van Spriel <arend@broadcom.com>
src/drivers/driver_nl80211.c