commit | af2cc67cc278e34d53cf0c7e50e21b3bcbff30ad | [log] [tgz] |
---|---|---|
author | Sourav Mohapatra <mohapatr@codeaurora.org> | Tue Oct 30 17:43:29 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Mar 11 02:52:41 2019 -0700 |
tree | 1fc089b7e0e284293db01491c7d43eed08819d0b | |
parent | 4c068d491a0164fed60a8e7de0a2ce7068fa6424 [diff] |
wlan: Accept cfg80211_set_spoofed_mac_oui only in STA mode Presently there is no check to see in which adapter mode the command is being issued. This can cause the further layers to assume STA interface to be present even though it is not, leading to an assert. Add the check to ensure that this command is processed only in the case of STA mode. Change-Id: I6b264b62fd56525e16761cc43683e52fbbe9ccfc CRs-Fixed: 2341551