wlan_bearer/wlanldd/wlan_symbian/wlanldd_symbian/inc/RWlanLogicalChannel.inl
changeset 45 e038696bbbe5
parent 30 7d966ab5304a
equal deleted inserted replaced
41:8e0a221dc349 45:e038696bbbe5
    14 * Description:   Implementation of RWlanLogicalChannel inline methods.
    14 * Description:   Implementation of RWlanLogicalChannel inline methods.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 18 %
    19 * %version: 19 %
    20 */
    20 */
    21 
    21 
    22 // -----------------------------------------------------------------------------
    22 // -----------------------------------------------------------------------------
    23 // 
    23 // 
    24 // -----------------------------------------------------------------------------
    24 // -----------------------------------------------------------------------------
    61 // 
    61 // 
    62 // -----------------------------------------------------------------------------
    62 // -----------------------------------------------------------------------------
    63 //
    63 //
    64 inline void RWlanLogicalChannel::CloseChannel()
    64 inline void RWlanLogicalChannel::CloseChannel()
    65     {
    65     {
    66     // request WLAN system resources to be released
    66     if ( Handle() > KNullHandle )
    67     //
    67         {
    68     TRequestStatus status;
    68         // we have a valid handle to the kernel side object
    69     DoRequest( EWlanFinitSystem, status );
    69     
    70     User::WaitForRequest(status);
    70         // request WLAN system resources to be released
    71     
    71         //
    72     // internally call close
    72         TRequestStatus status;
    73     Close();
    73         DoRequest( EWlanFinitSystem, status );
       
    74         User::WaitForRequest(status);
       
    75         
       
    76         // internally call close
       
    77         Close();
       
    78         }
    74     }
    79     }
    75 
    80 
    76 // -----------------------------------------------------------------------------
    81 // -----------------------------------------------------------------------------
    77 // 
    82 // 
    78 // -----------------------------------------------------------------------------
    83 // -----------------------------------------------------------------------------