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)
commitc62558f5e787b960cac77a13aa794f130de1cb36
treed22dd68a3b7bd0838915e90154b1dfd7e266ef38
parent1884521a9f793d25fd40af56ca72b1a8975b621b
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