From: Leo Kim Date: Mon, 19 Oct 2015 09:26:10 +0000 (+0900) Subject: staging: wilc1000: move variable FALSE_FRMWR_CHANNEL X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9f3295a2dd08a28762bc627f5c3d57409b34474d;p=openwrt%2Fstaging%2Fblogic.git staging: wilc1000: move variable FALSE_FRMWR_CHANNEL This patch moves the variable 'FALSE_FRMWR_CHANNEL' to where local definitions are. Signed-off-by: Leo Kim Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c61042ede3d4..948b986238ec 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -60,6 +60,7 @@ extern u8 g_wilc_initialized; #define BA_SESSION_DEFAULT_BUFFER_SIZE 16 #define BA_SESSION_DEFAULT_TIMEOUT 1000 #define BLOCK_ACK_REQ_SIZE 0x14 +#define FALSE_FRMWR_CHANNEL 100 struct cfg_param_attr { struct cfg_param_val cfg_attr_info; @@ -2623,7 +2624,6 @@ static int Handle_RegisterFrame(struct host_if_drv *hif_drv, return result; } -#define FALSE_FRMWR_CHANNEL 100 static u32 Handle_ListenStateExpired(struct host_if_drv *hif_drv, struct remain_ch *pstrHostIfRemainOnChan) {