Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566228 - net-wireless/hostapd reports wrongly to be 'up' after suspend/resume
Summary: net-wireless/hostapd reports wrongly to be 'up' after suspend/resume
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 14:37 UTC by skaumo
Modified: 2018-03-13 12:11 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 skaumo 2015-11-19 14:37:56 UTC
Steps:

- set up an AP with hostapd on a suspend capable machine
- suspend (e.g.: echo "mem">/sys/power/state)
- resume

* Expected hostapd to spin up the AP after resume automatically (preferably) or report down state otherwise


* Actual:

- /etc/init.d/hostapd status claims to be "started"
- hostapd process is running
- driver claims to be still in Master mode
- but the AP is actually down


# iwconfig
wifi      IEEE 802.11bgn  Mode:Master  Tx-Power=1 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on



Tested against iwlwifi, Intel 7260
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2015-11-22 19:57:47 UTC
Could you please take this upstream, to the hostapd developers?

This seems to be a bug in hostapd, so it should be taken upstream to the developers :-)

You can find the upstream mailing list right here: http://lists.infradead.org/mailman/listinfo/hostap - they will be able to help debug the issue, and help make a patch to fix it.