On Thu, Sep 16, 2010 at 5:58 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > When a driver advertises p2p device support, > mac80211 will handle it, but internally it will > rewrite the interface type to STA/AP rather than > P2P-STA/GO since otherwise a lot of paths need > to be touched that are otherwise identical. A > p2p boolean tells drivers whether or not a given > interface will be used for p2p or not. > > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> While at it can you add a is_beaconing_iftype() or something, that should reduce code and make it easier to check for these modes. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html