Merge pull request #121 from jgiovatto/enb-phy-initbug

use vector push_back method to allocate required
master
Andre Puschmann 7 years ago committed by GitHub
commit 6a9a004311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,7 +94,7 @@ bool phy::init(phy_args_t *args,
{
std::vector<void*> log_vec;
for (int i=0;i<args->nof_phy_threads;i++) {
log_vec[i] = (void*) log_h;
log_vec.push_back((void*)log_h);
}
init(args, cfg, radio_handler_, mac, log_vec);
return true;

Loading…
Cancel
Save