Skip to content
Commit 9ea92774 authored by Martin Pitt's avatar Martin Pitt Committed by Johannes Berg
Browse files

mac80211_hwsim: Register and bind to driver



Properly register our mac80211_hwsim_driver, attach it to the platform bus.
Bind newly created hwsim devices to that driver, so that our wlan devices get
a proper "driver" sysfs attribute.

This makes mac80211_hwsim interfaces work with NetworkManager.

Signed-off-by: default avatarMartin Pitt <martin.pitt@ubuntu.com>
[fix an old and a new message to not be line-broken,
 also fix the driver_register error path]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ddc4db2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment