]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
add back the ability to add a sibling interface
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 15:52:56 +0000 (17:52 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 15:52:56 +0000 (17:52 +0200)
interface.c

index 68039042f10c799eadd6d22934f2cbc91801c4dc..57c3f0a7a4e2790022a7811c7bb42c70bdcccbae 100644 (file)
@@ -117,6 +117,8 @@ static int handle_interface_add(struct nl80211_state *state,
 }
 COMMAND(interface, add, "<name> type <type> [mesh_id <meshid>]",
        NL80211_CMD_NEW_INTERFACE, 0, CIB_PHY, handle_interface_add);
+COMMAND(interface, add, "<name> type <type> [mesh_id <meshid>]",
+       NL80211_CMD_NEW_INTERFACE, 0, CIB_NETDEV, handle_interface_add);
 
 static int handle_interface_del(struct nl80211_state *state,
                                struct nl_msg *msg,