*
*/
-#ifndef _wlioctl_h_
-#define _wlioctl_h_
+#ifndef _BROADCOM_H
+#define _BROADCOM_H
#define WL_MCSSET_LEN 16
#define WL_MAX_STA_COUNT 32
uint32_t needed; /* bytes needed (optional) */
} wl_ioctl_t;
-#endif /* _wlioctl_h_ */
+#endif
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _MADWIFI_H
+#define _MADWIFI_H
/* ieee80211.h */
#define IEEE80211_ADDR_LEN 6
u_int8_t isi_opmode; /* sta operating mode */
};
+#endif
{ \
const char *ifname = luaL_checkstring(L, 1); \
char rv[IWINFO_BUFSIZE]; \
+ memset(rv, 0, IWINFO_BUFSIZE); \
if( !type##_get_##op(ifname, rv) ) \
lua_pushstring(L, rv); \
else \