Commit Graph

2 Commits

Author SHA1 Message Date
proski
2913278884 Adjust build system for Linux 2.6.26
During the second stage of the module build, Linux 2.6.26 does not
define $(obj).  Try using $(SUBDIRS) as $(obj) before falling back to
the current directory.


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3603 0192ed92-7a03-0410-a25b-9323aeb14dbd
2008-05-05 02:00:56 +00:00
proski
261fcaa170 Update regression tests for current API, add makefiles
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
2007-11-27 21:40:19 +00:00