]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
add "phy" command as alias for "list"
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 19 Apr 2009 13:05:58 +0000 (15:05 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Sun, 19 Apr 2009 13:05:58 +0000 (15:05 +0200)
info.c

diff --git a/info.c b/info.c
index 3939c5e3a4d92f0323b763edb611ff51d8b3acec..66c652d5f76bb6a36b168bbfa4eabfbcf76ceed0 100644 (file)
--- a/info.c
+++ b/info.c
@@ -268,3 +268,4 @@ static int handle_info(struct nl80211_state *state,
 }
 TOPLEVEL(info, NULL, NL80211_CMD_GET_WIPHY, 0, CIB_PHY, handle_info);
 TOPLEVEL(list, NULL, NL80211_CMD_GET_WIPHY, NLM_F_DUMP, CIB_NONE, handle_info);
+TOPLEVEL(phy, NULL, NL80211_CMD_GET_WIPHY, NLM_F_DUMP, CIB_NONE, handle_info);