summaryrefslogtreecommitdiff
path: root/cesar
diff options
context:
space:
mode:
authorMilenko Jelisavcic2012-05-16 10:25:59 +0200
committerMilenko Jelisavcic2012-06-04 11:52:21 +0200
commit4af4add3d97a90f8901c2bf9e760532b22c53aac (patch)
tree806696230a9c5d2c70ab80d5f7c2d8f97f5ec1b7 /cesar
parent5029cc568357612cfcfa7721fc64ed06cbbf94f9 (diff)
cesar/cp/eoc/sta/action[eoc]: declare as public function
Diffstat (limited to 'cesar')
-rw-r--r--cesar/cp/eoc/sta/action/poweron.h8
-rw-r--r--cesar/cp/eoc/sta/action/src/poweron.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/cesar/cp/eoc/sta/action/poweron.h b/cesar/cp/eoc/sta/action/poweron.h
index a86ed9b24d..45e4d79a2f 100644
--- a/cesar/cp/eoc/sta/action/poweron.h
+++ b/cesar/cp/eoc/sta/action/poweron.h
@@ -23,6 +23,14 @@ BEGIN_DECLS
* - cp_sta_action_poweron__idle__to_poweron
*/
+/**
+ * Poweron function. Basic initialization.
+ * \param ctx control plane context
+ *
+ */
+void
+cp_eoc_sta_action__power_on_no_beacons (cp_t *ctx);
+
END_DECLS
#endif /* cp_eoc_sta_action_poweron_h */
diff --git a/cesar/cp/eoc/sta/action/src/poweron.c b/cesar/cp/eoc/sta/action/src/poweron.c
index 18fabe095b..016dbdd281 100644
--- a/cesar/cp/eoc/sta/action/src/poweron.c
+++ b/cesar/cp/eoc/sta/action/src/poweron.c
@@ -24,7 +24,7 @@
#include "cp/beacon/beacon.h"
/* Initial settings for station */
-static void
+void
cp_eoc_sta_action__power_on_no_beacons (cp_t *ctx)
{
cp_tei_t tei;