wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_operation_delete_ts.cpp
equal
deleted
inserted
replaced
14 * Description: Statemachine for deleting a traffic stream. |
14 * Description: Statemachine for deleting a traffic stream. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 8 % |
19 * %version: 9 % |
20 */ |
20 */ |
21 |
21 |
22 #include "core_operation_delete_ts.h" |
22 #include "core_operation_delete_ts.h" |
23 #include "core_traffic_stream.h" |
23 #include "core_traffic_stream.h" |
24 #include "core_frame_wmm_ie_tspec.h" |
24 #include "core_frame_wmm_ie_tspec.h" |
119 |
119 |
120 /** |
120 /** |
121 * Delete the virtual traffic stream. |
121 * Delete the virtual traffic stream. |
122 */ |
122 */ |
123 virtual_ts_iter.remove(); |
123 virtual_ts_iter.remove(); |
|
124 virtual_stream = NULL; |
124 |
125 |
125 /** |
126 /** |
126 * Locate the actual traffic stream based on the TID. |
127 * Locate the actual traffic stream based on the TID. |
127 */ |
128 */ |
128 core_traffic_stream_c* stream = NULL; |
129 core_traffic_stream_c* stream = NULL; |
277 |
278 |
278 /** |
279 /** |
279 * Delete the actual traffic stream. |
280 * Delete the actual traffic stream. |
280 */ |
281 */ |
281 ts_iter.remove(); |
282 ts_iter.remove(); |
|
283 stream = NULL; |
282 |
284 |
283 if( direction == core_traffic_stream_direction_uplink || |
285 if( direction == core_traffic_stream_direction_uplink || |
284 direction == core_traffic_stream_direction_bidirectional ) |
286 direction == core_traffic_stream_direction_bidirectional ) |
285 { |
287 { |
286 server_m->get_connection_data()->set_ac_traffic_status( |
288 server_m->get_connection_data()->set_ac_traffic_status( |