[PATCH 1/1] P2P: Ignore RTM_NEWLINK event for the P2P Discovery Interface

Jouni Malinen j
Wed Jun 11 14:30:33 PDT 2014


On Mon, Jun 09, 2014 at 01:26:42AM -0700, Jithu Jance wrote:
> Patch for Ignoring the RTM event for the dedicated P2P discovery
> Interface. Without the patch the IFFUP operation on the interface
> was failing (since there is no network device associated with the
> interface).

> +	if (drv->nlmode == NL80211_IFTYPE_P2P_DEVICE) {
> +		wpa_printf(MSG_INFO, "nl80211: Ignore RTM_NEWLINK for P2P Discovery Interface");
> +		return;
> +	}

Hmm.. How does NL82011_IFTYPE_P2P_DEVICE even get a RTM_NEWLINK event?
The main point of that was to not have a netdev.. Could you please share
a debug log showing what this looks like without this change?
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list