diff options
author | Pierre Le Magourou <plemagourou@aldebaran.com> | 2016-07-18 23:22:20 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-07-19 16:22:41 +0300 |
commit | 76b817f6c9a901c4d1e7b9e4e4c7b69ce8330353 (patch) | |
tree | 606900b2704fc31e37b16e3267cd2b4d14363500 /drivers/scsi/bfa/bfad.c | |
parent | f3651bae564497250bfde375761554d2e6bb0772 (diff) | |
download | talos-op-linux-76b817f6c9a901c4d1e7b9e4e4c7b69ce8330353.tar.gz talos-op-linux-76b817f6c9a901c4d1e7b9e4e4c7b69ce8330353.zip |
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: Pierre Le Magourou <plemagourou@aldebaran.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/scsi/bfa/bfad.c')
0 files changed, 0 insertions, 0 deletions