Skip to content
Commit 082b12d4 authored by James Prestwood's avatar James Prestwood Committed by Johannes Berg
Browse files

mac80211_hwsim: fixes kernel crash during mac80211_hwsim init



Creating radios during startup follows a different code path than
HWSIM_CMD_NEW_RADIO. The problem was that param.iftypes was not
being set to the deafult before calling mac80211_hwsim_new_radio

Signed-off-by: default avatarJames Prestwood <james.prestwood@linux.intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ecbc12ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment