Menu

#24 wlassistant uses ipw instead of wext

open
nobody
None
5
2015-02-01
2007-04-26
Anonymous
No

This piece of code form wlassitant.cpp

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 13)
else if ( k.contains("ipw") ) driver = "ipw"; //wext should be used for kernels newer than 2.6.12
#endif

doesn't work on my gentoo 2006.1 system, with kernel 2.6.17.
version.h is there and LINUX_VERSION_CODE is 132625 and not 132621 as KERNEL_VERSION(2, 6, 13) will create.

Therefore I had to patch wlassistant, and comment this lines, then wlassistant worked for me.

Discussion

  • Pawel Nawrocki

    Pawel Nawrocki - 2007-05-31

    Logged In: YES
    user_id=1243212
    Originator: NO

    Thanks for the report! Will look into that and come up with a fix.
    Do you have the means to check if it's gentoo-specific?

     
  • Pawel Nawrocki

    Pawel Nawrocki - 2007-05-31

    Logged In: YES
    user_id=1243212
    Originator: NO

    Actually, it looks like something's wrong with your kernel header (version.h). Can you try to update it or compare to other system's 2.6.17 header file?
    Your LINUX_VERSION_CODE stands for 2.6.11 (instead of 132631 as it should for 2.6.17), and is therefore properly recognized as pre-2.6.13.

     

Log in to post a comment.

MongoDB Logo MongoDB