mirror of
https://github.com/proski/madwifi
synced 2024-11-25 07:49:43 +03:00
261fcaa170
The new crypto API uses VAP, so allocate one. Use keys from vap->iv_nw_keys with the provided key index (0 for TKIP), don't allocate another key on the stack. Synchronize context structures with the current code. Return -ENXIO on failure. It's hard to find a sensible code for crypto test failure, but -1 (-EPERM) was misleading. Fix TKIP test that was ignoring failures. Update module parameters for Linux 2.6. Provide makefiles to facilitate compilation. Fix all sparse warnings. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2983 0192ed92-7a03-0410-a25b-9323aeb14dbd
29 lines
396 B
Makefile
29 lines
396 B
Makefile
ifeq ($(obj),)
|
|
obj= .
|
|
endif
|
|
|
|
TOP = $(obj)/..
|
|
|
|
obj-y := ccmp/ tkip/ wep/
|
|
|
|
include $(TOP)/Makefile.inc
|
|
|
|
modules:
|
|
ifdef LINUX24
|
|
for i in $(obj-y); do \
|
|
$(MAKE) -C $$i || exit 1; \
|
|
done
|
|
else
|
|
$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
|
|
endif
|
|
|
|
install:
|
|
for i in $(obj-y); do \
|
|
$(MAKE) -C $$i install || exit 1; \
|
|
done
|
|
|
|
clean:
|
|
for i in $(obj-y); do \
|
|
$(MAKE) -C $$i clean; \
|
|
done
|