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

Commit 4c068d49 authored by Rajeev Kumar Sirasanagandla's avatar Rajeev Kumar Sirasanagandla Committed by Gerrit - the friendly Code Review server
Browse files

wlan: Check SAP_OFFLOADS capability before SAP open

If the ini gEnableSAPAuthOffload is set and firmware doesn't support
SAP_OFFLOADS then effectively driver should not support sap auth
offloads feature.

But from hdd_wlan_startup(), softap is created with sap auth offloads
feature using gEnableSAPAuthOffload only. This leads to out of sync
between firmware and driver thereby causing kernel panic with assert
when driver is expecting auth complete but firmware is giving auth
request notifcation.

To address this, validate firmware SAP_OFFLOADS capability before
softap create.

Change-Id: Ie078a26660ed3823cb26eae8c010511bb5f96410
CRs-Fixed: 2403630
parent 117fbae6
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