wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_operation_power_save_test.cpp
branchRCL_3
changeset 5 51a71243e562
parent 0 c40eb8fe8501
equal deleted inserted replaced
3:6524e815f76f 5:51a71243e562
     1 /*
     1 /*
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   233                 DEBUG( "core_operation_power_save_test_c::next_state() - power save test verdict: FAIL" );
   233                 DEBUG( "core_operation_power_save_test_c::next_state() - power save test verdict: FAIL" );
   234 
   234 
   235                 server_m->get_connection_data()->add_ap_power_save_test_verdict(
   235                 server_m->get_connection_data()->add_ap_power_save_test_verdict(
   236                     bssid,
   236                     bssid,
   237                     false_t );                
   237                     false_t );                
   238                 /**
   238 
   239                  * Notify adaptation about the failed test.
       
   240                  */
       
   241                 adaptation_m->notify(
       
   242                     core_notification_broken_power_save_test_failed,
       
   243                     0,
       
   244                     NULL );
       
   245                 }
   239                 }
   246             else if( return_status_m == core_error_timeout )
   240             else if( return_status_m == core_error_timeout )
   247                 {
   241                 {
   248                 /**
   242                 /**
   249                  * Echo test failed both without and with power save.
   243                  * Echo test failed both without and with power save.