diff options
author | Andrew Zaborowski <andrew.zaborowski@intel.com> | 2017-02-23 13:02:10 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-03-06 09:21:47 +0100 |
commit | f7d3b4f5203832f57ece96300888323fd5a6c6b3 (patch) | |
tree | 8d1b77902756da1c9128dc80ebd98affd92b0180 /drivers/net/wireless/mac80211_hwsim.h | |
parent | fe56c9c17b09769691e8b91747b32aa2555bef35 (diff) |
mac80211_hwsim: Make sure NEW_RADIO contains final name
ieee80211_alloc_hw_nm will validate the requested name (if any) before
creating the new device and may use a name different from the one
requested rather than fail. Make sure the HWSIM_CMD_NEW_RADIO
event/response generated has the final name or userspace will receive
the wrong name. Note that mac80211_hwsim_new_radio may now modify
params.
A check for duplicate radio name could be added separately.
Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.h')
0 files changed, 0 insertions, 0 deletions