Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150360
b: refs/heads/master
c: 0d63cbb
h: refs/heads/master
v: v3
  • Loading branch information
Michał Mirosław authored and David S. Miller committed May 21, 2009
1 parent b5d7140 commit 0ccfbed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ae740df3a9c68622156476dca29991de664fae4
refs/heads/master: 0d63cbb535a9525445513389370d35b522a700f1
11 changes: 3 additions & 8 deletions trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -3912,18 +3912,13 @@ void nl80211_send_beacon_hint_event(struct wiphy *wiphy,

int nl80211_init(void)
{
int err, i;
int err;

err = genl_register_family(&nl80211_fam);
err = genl_register_family_with_ops(&nl80211_fam,
nl80211_ops, ARRAY_SIZE(nl80211_ops));
if (err)
return err;

for (i = 0; i < ARRAY_SIZE(nl80211_ops); i++) {
err = genl_register_ops(&nl80211_fam, &nl80211_ops[i]);
if (err)
goto err_out;
}

err = genl_register_mc_group(&nl80211_fam, &nl80211_config_mcgrp);
if (err)
goto err_out;
Expand Down

0 comments on commit 0ccfbed

Please sign in to comment.