diff options
| author | Jonas Dreßler <verdre@v0yd.nl> | 2021-09-14 22:59:01 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2021-09-21 18:02:16 +0300 |
| commit | babe2a332dc40b0e43035e529b357a232dbe7f7b (patch) | |
| tree | 306afabed4f73b1f2b9ffd3cb9ac057bedd032d6 /scripts | |
| parent | fe7bc23a8c5eba8a49061c1d15d0a9d45ef18130 (diff) | |
| download | linux-babe2a332dc40b0e43035e529b357a232dbe7f7b.tar.xz | |
mwifiex: Small cleanup for handling virtual interface type changes
Handle the obvious invalid virtual interface type changes with a general
check instead of looking at the individual change.
For type changes from P2P_CLIENT to P2P_GO and the other way round, this
changes the behavior slightly: We now still do nothing, but return
-EOPNOTSUPP instead of 0. Now that behavior was incorrect before and
still is, because type changes between these two types are actually
possible and supported, which we'll fix in a following commit.
Signed-off-by: Jonas Dreßler <verdre@v0yd.nl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210914195909.36035-2-verdre@v0yd.nl
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
