iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 21 May 2014 12:33:10 +0000 (12:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 21 May 2014 12:33:10 +0000 (12:33 +0000)
commit2d06acd6ac6850712f4a9b2c344f2016f8f1774c
treea2c09a55390bac647d02a19c4e2c60f3b41f58dc
parent55131c5f425b1a9aa6f8772a9c339e0bd80ba2fb
iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp calls

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40809
package/network/utils/iwinfo/src/include/iwinfo.h
package/network/utils/iwinfo/src/include/iwinfo/madwifi.h
package/network/utils/iwinfo/src/include/iwinfo/nl80211.h
package/network/utils/iwinfo/src/include/iwinfo/wext.h
package/network/utils/iwinfo/src/include/iwinfo/wl.h
package/network/utils/iwinfo/src/iwinfo_lib.c