projects
/
openwrt
/
staging
/
lynxis
/
omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iwinfo: add phyname attribute, this is useful to group networks by radio phy
[openwrt/staging/lynxis/omap.git]
/
package
/
network
/
utils
/
iwinfo
/
src
/
iwinfo_wext.c
diff --git
a/package/network/utils/iwinfo/src/iwinfo_wext.c
b/package/network/utils/iwinfo/src/iwinfo_wext.c
index cf3dccc189ae5d85b84a911ae4ecf43a80d551b5..890a36d2f02ec13c413266a9dd21cc1db5b1796f 100644
(file)
--- a/
package/network/utils/iwinfo/src/iwinfo_wext.c
+++ b/
package/network/utils/iwinfo/src/iwinfo_wext.c
@@
-446,6
+446,13
@@
int wext_get_encryption(const char *ifname, char *buf)
return -1;
}
+int wext_get_phyname(const char *ifname, char *buf)
+{
+ /* No suitable api in wext */
+ strcpy(buf, ifname);
+ return 0;
+}
+
int wext_get_mbssid_support(const char *ifname, int *buf)
{
/* No multi bssid support atm */