[PATCH 1/2] nl80211: consider p2p when changing vif type

Jouni Malinen j at w1.fi
Sun Jul 17 13:23:52 EDT 2011


On Mon, Feb 28, 2011 at 01:10:42PM +0200, Eliad Peller wrote:
> Commit 9f51b11 ("nl80211: use P2P interface types") added
> support for p2p interfaces when adding a new interface.
> however, it didn't handle the case in which the same
> interface is being used and its type is being changed.
> Add support for this case.
> 
> Consequently, when doing "ap_scan_as_station" we now need
> to save the actual ap interface type (normal/p2p) in order
> to restore it properly. for that, change ap_scan_as_station
> type from int to nl80211_iftype, and set it to
> NL80211_IFTYPE_UNSPECIFED when not used.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list