Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231359 - hostapd-0.6.3-r1 doesn't detect kernel 2.6.26
Summary: hostapd-0.6.3-r1 doesn't detect kernel 2.6.26
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
: 231360 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-09 23:15 UTC by Ben Schwartz
Modified: 2008-07-11 20:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Schwartz 2008-07-09 23:15:47 UTC
The net-wireless/hostapd/0.6.3-r1 ebuild attempts to determine whether it's running under 2.6.26 using the command

grep NL80211_IFTYPE_AP: ${KV_DIR}/net/mac80211/cfg.c

In vanilla-sources-2.6.26_rc9, this string does not appear in that file, the command returns false, and so nl80211 support is not compiled into hostapd.

There has clearly been some kind of misunderstanding here.

Reproducible: Always
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-09 23:20:15 UTC
*** Bug 231360 has been marked as a duplicate of this bug. ***
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2008-07-11 20:44:19 UTC
This is because the AP support is disabled in the kernel for now.

The solution is to use the patch from here and rebuild the kernel:

http://johannes.sipsolutions.net/patches/kernel/all/LATEST/

Right now, the patch is called 016-allow-ap-vlan-modes.patch

I'm going to add a note about it to the ebuild, to avoid confusion.