Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 76b817f6 authored by Pierre Le Magourou's avatar Pierre Le Magourou Committed by Kalle Valo
Browse files

ath6kl: Unset IFF_LOWER_UP flag on AP mode leave.



When disabling tethering after having enabled it, the ath6kl driver does
not set the IFF_LOWER_UP flag to 0 (carrier off) on the wlan interface.

The upper layers (eg. connman) are not notified of the tethering mode
status change. So, tethering can not be activated anymore.

This patch adds a netif_carrier_off() call when stopping AP mode to fix
the problem.

Signed-off-by: default avatarPierre Le Magourou <plemagourou@aldebaran.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent f3651bae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment