diff options
| author | Maya Erez <merez@codeaurora.org> | 2016-09-07 22:20:17 +0300 |
|---|---|---|
| committer | Maya Erez <merez@codeaurora.org> | 2016-09-18 17:51:22 +0300 |
| commit | 096ca9dc58d3b1d3375060fad8fa1c9efd63a534 (patch) | |
| tree | b66bbb8abbeeec5e123441dd571e35e5aa5660e4 /drivers/net/wireless/ath/wil6210/wmi.c | |
| parent | dd2c4e67bf63d055ed058c3106459b6def329225 (diff) | |
wil6210: fix wiphy registration sequence
Currently wiphy structure is initialized and registered
in wil_if_alloc, before some information is available such
as MAC address and capabilities. As a result there is a
small chance user space will get incorrect information
from calls such as NL80211_CMD_GET_WIPHY.
Fix this by seperating the registration and moving it
to wil_if_add which is executed later, after all
relevant information is known.
Change-Id: Id38c8e21a853907c884bccd2978f2fd0a547a1ca
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 2690c4c0e83b1aa5aa8b8b258ae422b067720224
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wmi.c')
0 files changed, 0 insertions, 0 deletions
