summaryrefslogtreecommitdiff
path: root/cesar/cp
diff options
context:
space:
mode:
authorNélio Laranjeiro2011-04-15 16:49:06 +0200
committerNélio Laranjeiro2011-04-20 18:04:22 +0200
commit1b04860048fd7cb6a56bdb969558a9509785d255 (patch)
tree42019d110cd2481c84f8bb92b1f67b5e3f3b528c /cesar/cp
parentc4a12659fce42396fe678692a9ca39f547c4f33c (diff)
cesar/cp/cco/action: removes last seen date on association requests, refs #2196
CCo does not use it for station which are in its AVLN.
Diffstat (limited to 'cesar/cp')
-rw-r--r--cesar/cp/cco/action/src/cco_action.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cesar/cp/cco/action/src/cco_action.c b/cesar/cp/cco/action/src/cco_action.c
index ffef623ae7..6e63f1ada5 100644
--- a/cesar/cp/cco/action/src/cco_action.c
+++ b/cesar/cp/cco/action/src/cco_action.c
@@ -692,7 +692,6 @@ cp_cco_action__assoc__join (cp_t *ctx, cp_mme_rx_t *msg,
u32 date_ms = cp_sta_core_get_date_ms (ctx);
sta->tei_lease_date_ms = date_ms +
MAC_SEC_TO_MS(CP_LEASE_ASSOC_MIN * 60);
- sta->last_seen_ms = date_ms;
/* Update the last request date in the sta. */
cp_sta_set_assoc_confirmed (ctx, sta, false);
@@ -710,10 +709,6 @@ cp_cco_action__assoc__join (cp_t *ctx, cp_mme_rx_t *msg,
if (!tei)
{
sta = cp_sta_mgr_sta_add (ctx, net, 0, msg->peer.mac);
-
- /* Last seen current date + 7 min. */
- sta->last_seen_ms = cp_sta_core_get_date_ms (ctx) +
- MAC_SEC_TO_MS(420);
/* Release the reference on the station. */
slab_release (sta);
}
@@ -752,8 +747,6 @@ cp_cco_action__assoc__renew (cp_t *ctx, cp_mme_rx_t *msg,
u32 date_ms = cp_sta_core_get_date_ms (ctx);
sta->tei_lease_date_ms = date_ms +
MAC_SEC_TO_MS(CP_LEASE_AUTH_MIN * 60);
- sta->last_seen_ms = date_ms;
-
cnf.result = CP_MSG_CC_ASSOC_CNF_RESULT_SUCCESS;
cnf.sta_tei = cp_sta_get_tei (sta);
cnf.lease_time_min = CP_LEASE_AUTH_MIN;