title: android supplicant
body: <p>these days, i am trying to porting wifi to my board, the android version is JellyBean,the linux kernel is 2.6.35.11, the dirver is realtek rtl8192, i config the kernel supported wifi an make it,now it's turn to complie the driver,i also config the makefile,now it support my board,and i got the applicant "rel_supplciant(the makefile build it in this name)" in the directory "/system/bin" on my board,now i run the apllicant rel_supplicant,but it doesn't work,i catch the logcat,it said like this:</p>
  
  <pre><code>I/wpa_supplicant( 1794): rfkill: Cannot open RFKILL control device
  E/wpa_supplicant( 1794): nl80211: Could not configure driver to use managed mode
  E/wpa_supplicant( 1794): Could not read interface p2p0 flags: No such device
  E/wpa_supplicant( 1794): p2p0: Failed to initialize driver interface
  </code></pre>
  
  <p>you maybe curious about the log,yes this is the JellyBean's new properties,if you want to start supplicant,you need to create two interface "wlan0" and "p2p0" one by one,only they're all created,the supplicant can be started right.</p>
  
  <p>the problem here is when i run the supplicant "rel_supplicant" is directroy "/system/bin" on my board,the supplicant cann't be started,I don't konw why.if the supplicant can't be start by cmd,that is to say,it cann't be started from the init.rc</p>