From d6a39297c4cf9fd871317d99e1f2108fff8efc14 Mon Sep 17 00:00:00 2001 From: Heesub Shin Date: Thu, 13 Apr 2017 14:43:54 +0900 Subject: [PATCH] wireless/scsc: introduce up_wlan_init() wlan_initup() is called during wifi driver setup for initializing board-specific things. To follow the convention, rename it to up_wlan_init(). Change-Id: I7064aead73105ddb847af6aee30058efd7e6105e Signed-off-by: Heesub Shin --- os/arch/arm/src/artik053/src/artik053_wlan.c | 2 +- os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c | 2 +- os/drivers/wireless/scsc/netif.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/os/arch/arm/src/artik053/src/artik053_wlan.c b/os/arch/arm/src/artik053/src/artik053_wlan.c index 470e176..e065da8 100644 --- a/os/arch/arm/src/artik053/src/artik053_wlan.c +++ b/os/arch/arm/src/artik053/src/artik053_wlan.c @@ -49,7 +49,7 @@ static err_t wlan_init(struct netif *netif) return ERR_OK; } -void wlan_initup(struct netif *dev) +void up_wlan_init(struct netif *dev) { struct ip_addr ipaddr; struct ip_addr netmask; diff --git a/os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c b/os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c index 05d5d8d..5aa1a8f 100644 --- a/os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c +++ b/os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c @@ -59,7 +59,7 @@ static err_t wlan_init(struct netif *netif) struct netif *wlan_netif; -void wlan_initup(struct netif *dev) +void up_wlan_init(struct netif *dev) { struct ip_addr ipaddr; struct ip_addr netmask; diff --git a/os/drivers/wireless/scsc/netif.c b/os/drivers/wireless/scsc/netif.c index a8da634..037062c 100644 --- a/os/drivers/wireless/scsc/netif.c +++ b/os/drivers/wireless/scsc/netif.c @@ -678,7 +678,7 @@ int slsi_netif_init(struct slsi_dev *sdev) return 0; } -void wlan_initup(struct netif *dev); +void up_wlan_init(struct netif *dev); static int slsi_netif_register_locked(struct slsi_dev *sdev, struct netif *dev) { @@ -692,7 +692,7 @@ static int slsi_netif_register_locked(struct slsi_dev *sdev, struct netif *dev) return 0; } - wlan_initup(dev); + up_wlan_init(dev); return err; } -- 2.7.4