#define WLAN_DRIVER_SCRIPT "/usr/bin/wlan.sh"
#define WLAN_IFACE_NAME "wlan0"
-#if defined(TIZEN_TV)
-#define WLAN_P2P_IFACE_NAME "p2p0"
-#else /* defined(TIZEN_TV) */
-#define WLAN_P2P_IFACE_NAME "wlan0"
-#endif /* defined(TIZEN_TV) */
+#define WLAN_P2P_IFACE_NAME_TV "p2p0"
+#define WLAN_P2P_IFACE_NAME_COMMON "wlan0"
+#define WLAN_P2P_IFACE_NAME ((TIZEN_TV) ? (WLAN_P2P_IFACE_NAME_TV) : (WLAN_P2P_IFACE_NAME_COMMON))
static int __netconfig_sta_firmware_start(void)
{