nl80211: Hold wdev identification for P2P Device
authorDavid Spinadel <david.spinadel@intel.com>
Tue, 25 Jun 2013 10:33:45 +0000 (13:33 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 25 Jun 2013 10:33:45 +0000 (13:33 +0300)
commitd3aaef803442a688b68e7a941431462c6eb17c71
treefae047a080f32952afe7dffb0f2bef55d79c0bd4
parent7aad838c92c432b2a88c050ecaf395c40430457d
nl80211: Hold wdev identification for P2P Device

Add wdev_id to i802_bss. wdev_id_set indicates whether this id is
available. Use wdev_id if assigned, instead of ifindex. Use wdev_id for
events that come from the kernel to identify the relevant interface.
This commit does not assign wdev_id value for the BSS yet, i.e., this is
only preparation for the value to be used in a future commit.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
src/drivers/driver_nl80211.c