From d0a2de99a49cac6a58b5c5d8fd7ac4ac89631beb Mon Sep 17 00:00:00 2001
From: Franklin S Cooper Jr <fcooper@ti.com>
Date: Mon, 30 Jul 2012 15:01:00 -0500
Subject: [PATCH 2/2] netbase: Update interface file

* Update interface file based on changes made to the interface file
  in arago

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 recipes-core/netbase/netbase-4.47/interfaces |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/recipes-core/netbase/netbase-4.47/interfaces b/recipes-core/netbase/netbase-4.47/interfaces
index 0acf4cf..15bc31c 100644
--- a/recipes-core/netbase/netbase-4.47/interfaces
+++ b/recipes-core/netbase/netbase-4.47/interfaces
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces
 auto eth0
 iface eth0 inet dhcp
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+
 iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp
 
 # Bluetooth networking
 iface bnep0 inet dhcp
-- 
1.7.0.4

