title: Android WiFi Direct P2P Connection always fails
body: <p>I try to connect 2 Android devices via WiFi Direct so that I could use Miracast sometime but always get the same error.
  Im working 3 days on that now but can't figure out, why this isnt working.</p>
  
  <p>My logcat error:</p>
  
  <pre><code>I/wpa_supplicant( 4244): p2p0: P2P-FIND-STOPPED 
  D/myOnda  ( 4533): onReceive action:android.net.wifi.p2p.DISCOVERY_STATE_CHANGE
  D/myOnda  ( 4533): Discovery state changed: 1 -&gt;1:stop, 2:start
  I/ethernet( 3755): event: NEWLINK(16), flags=0X1002
  I/ethernet( 3755): flags: BC MC
  I/ethernet( 3755): poll state :(null):17:
  I/wpa_supplicant( 4244): p2p0: Failed to start AP functionality
  V/EthernetStateTracker( 3755): report new state DISCONNECTED on dev (null) current=null
  </code></pre>
  
  <p>Ok it says "Failed to start AP functionality" but I just don't know how and where to solve that.</p>
  
  <p>I try that connection 1 time with a Samsung Note Pro and 1 time with a Nexus 4 and it's always the same.</p>
  
  <p>Another curious part is that the mac is always different from the original (found that here too).</p>