fix Makefile

This commit is contained in:
oblique 2012-06-18 09:42:55 +03:00
parent 982dd6ea17
commit 5d8ea0eb1b
2 changed files with 2 additions and 2 deletions

@ -20,7 +20,7 @@ endif
all: wificurse
wificurse: $(OBJS)
$(CC) $(LDFLAGS) $(LIBS) $(OBJS) -o $@
$(CC) $(LIBS) $(LDFLAGS) $(OBJS) -o $@
%.o: %.c $(HDRS)
$(CC) $(CFLAGS) -c $< -o $@

@ -131,7 +131,7 @@ int read_ap_info(struct iw_dev *dev, struct ap_info *api) {
beacon_ie = (struct info_element*)&beacon_ie->info[beacon_ie->len];
}
/* if we didn't found the channel number
/* if we didn't find the channel number
* then return ERRNODATA
*/
if (!(n & 2))