{"action":"created","comment":{"url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/comments/70627043","id":70627043,"diff_hunk":"@@ -333,7 +332,9 @@ static int8_t rf_interface_init(void)\n         storage_sizes.key_description_table_size = 3;\n         storage_sizes.key_lookup_size = 1;\n         storage_sizes.key_usage_size = 3;\n-        mac_api_t *api = ns_sw_mac_create(rf_phy_device_register_id, &storage_sizes);\n+        if(!api) {\n+        api = ns_sw_mac_create(rf_phy_device_register_id, &storage_sizes);","path":"source/borderrouter_tasklet.c","position":51,"original_position":51,"commit_id":"528573183affc2b65a52b7369e8ff9ef7358d123","original_commit_id":"528573183affc2b65a52b7369e8ff9ef7358d123","user":{"login":"SeppoTakalo","id":3104794,"avatar_url":"https://avatars.githubusercontent.com/u/3104794?v=3","gravatar_id":"","url":"https://api.github.com/users/SeppoTakalo","html_url":"https://github.com/SeppoTakalo","followers_url":"https://api.github.com/users/SeppoTakalo/followers","following_url":"https://api.github.com/users/SeppoTakalo/following{/other_user}","gists_url":"https://api.github.com/users/SeppoTakalo/gists{/gist_id}","starred_url":"https://api.github.com/users/SeppoTakalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeppoTakalo/subscriptions","organizations_url":"https://api.github.com/users/SeppoTakalo/orgs","repos_url":"https://api.github.com/users/SeppoTakalo/repos","events_url":"https://api.github.com/users/SeppoTakalo/events{/privacy}","received_events_url":"https://api.github.com/users/SeppoTakalo/received_events","type":"User","site_admin":false},"body":"Indent","created_at":"2016-07-13T13:45:19Z","updated_at":"2016-07-13T13:45:19Z","html_url":"https://github.com/ARMmbed/nanostack-border-router/pull/20#discussion_r70627043","pull_request_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/comments/70627043"},"html":{"href":"https://github.com/ARMmbed/nanostack-border-router/pull/20#discussion_r70627043"},"pull_request":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/20","id":77281615,"html_url":"https://github.com/ARMmbed/nanostack-border-router/pull/20","diff_url":"https://github.com/ARMmbed/nanostack-border-router/pull/20.diff","patch_url":"https://github.com/ARMmbed/nanostack-border-router/pull/20.patch","issue_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues/20","number":20,"state":"open","locked":false,"title":"[ONME-2731] Support for mbedOS-5","user":{"login":"hasnainvirk","id":13431190,"avatar_url":"https://avatars.githubusercontent.com/u/13431190?v=3","gravatar_id":"","url":"https://api.github.com/users/hasnainvirk","html_url":"https://github.com/hasnainvirk","followers_url":"https://api.github.com/users/hasnainvirk/followers","following_url":"https://api.github.com/users/hasnainvirk/following{/other_user}","gists_url":"https://api.github.com/users/hasnainvirk/gists{/gist_id}","starred_url":"https://api.github.com/users/hasnainvirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasnainvirk/subscriptions","organizations_url":"https://api.github.com/users/hasnainvirk/orgs","repos_url":"https://api.github.com/users/hasnainvirk/repos","events_url":"https://api.github.com/users/hasnainvirk/events{/privacy}","received_events_url":"https://api.github.com/users/hasnainvirk/received_events","type":"User","site_admin":false},"body":"* yotta_config.h is renamed to mbed_config.h\r\n* A section is added in mbed_config.h to interprate mbedOS-5 config.\r\n* A memory leak is fixed in the call of mac_api (in case of plugging-in and plugging out)\r\n  of ethernet cable. The idea is to create only one instance of mac_api and reuse it after the\r\n  cable is plugged back in again.\r\n* Some traces are changed to info level. The whole idea is to reduce no. of traces caught at serial\r\n  output. Too many traces reduce the performance by a fair amount.","created_at":"2016-07-13T12:42:31Z","updated_at":"2016-07-13T13:45:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e8cf0484b7ebbb98f275089175512849a99b72c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/20/commits","review_comments_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/20/comments","review_comment_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues/20/comments","statuses_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/statuses/528573183affc2b65a52b7369e8ff9ef7358d123","head":{"label":"ARMmbed:rtos_integration","ref":"rtos_integration","sha":"528573183affc2b65a52b7369e8ff9ef7358d123","user":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars.githubusercontent.com/u/8916057?v=3","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"repo":{"id":46234768,"name":"nanostack-border-router","full_name":"ARMmbed/nanostack-border-router","owner":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars.githubusercontent.com/u/8916057?v=3","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARMmbed/nanostack-border-router","description":"Nanostack Border Router implementation","fork":false,"url":"https://api.github.com/repos/ARMmbed/nanostack-border-router","forks_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/forks","keys_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/teams","hooks_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/events","assignees_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/tags","blobs_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/subscription","commits_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/merges","archive_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/downloads","issues_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/deployments","created_at":"2015-11-15T20:36:42Z","updated_at":"2016-04-01T09:12:10Z","pushed_at":"2016-07-13T12:42:31Z","git_url":"git://github.com/ARMmbed/nanostack-border-router.git","ssh_url":"git@github.com:ARMmbed/nanostack-border-router.git","clone_url":"https://github.com/ARMmbed/nanostack-border-router.git","svn_url":"https://github.com/ARMmbed/nanostack-border-router","homepage":null,"size":95,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"ARMmbed:master","ref":"master","sha":"9a0b032e025fb06675eb165df2a45a4ef5e15d64","user":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars.githubusercontent.com/u/8916057?v=3","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"repo":{"id":46234768,"name":"nanostack-border-router","full_name":"ARMmbed/nanostack-border-router","owner":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars.githubusercontent.com/u/8916057?v=3","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARMmbed/nanostack-border-router","description":"Nanostack Border Router implementation","fork":false,"url":"https://api.github.com/repos/ARMmbed/nanostack-border-router","forks_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/forks","keys_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/teams","hooks_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/events","assignees_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/tags","blobs_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/subscription","commits_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/merges","archive_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/downloads","issues_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/nanostack-border-router/deployments","created_at":"2015-11-15T20:36:42Z","updated_at":"2016-04-01T09:12:10Z","pushed_at":"2016-07-13T12:42:31Z","git_url":"git://github.com/ARMmbed/nanostack-border-router.git","ssh_url":"git@github.com:ARMmbed/nanostack-border-router.git","clone_url":"https://github.com/ARMmbed/nanostack-border-router.git","svn_url":"https://github.com/ARMmbed/nanostack-border-router","homepage":null,"size":95,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/20"},"html":{"href":"https://github.com/ARMmbed/nanostack-border-router/pull/20"},"issue":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues/20"},"comments":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/ARMmbed/nanostack-border-router/statuses/528573183affc2b65a52b7369e8ff9ef7358d123"}}}}
{"actor":{"display_login":"SeppoTakalo"}}