Browse code

core: fix execution of callbacks list for net_data_in

Daniel-Constantin Mierla authored on 10/09/2014 18:11:14
Showing 1 changed files
... ...
@@ -194,7 +194,7 @@ int sr_event_exec(int type, void *data)
194 194
 #endif /* EXTRA_DEBUG */
195 195
 					ret = 0;
196 196
 					for(i=0; i<SREV_CB_LIST_SIZE
197
-							&& _sr_events_list.net_data_out[i]; i++) {
197
+							&& _sr_events_list.net_data_in[i]; i++) {
198 198
 						ret |= _sr_events_list.net_data_in[i](data);
199 199
 					}
200 200
 #ifdef EXTRA_DEBUG