This repository was archived by the owner on Dec 20, 2023. It is now read-only.
Commit 9ea9277
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: Martin Pitt <[email protected]>
[fix an old and a new message to not be line-broken,
also fix the driver_register error path]
Signed-off-by: Johannes Berg <[email protected]>1 parent ddc4db2 commit 9ea9277
1 file changed
+26
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
1687 | 1688 | | |
1688 | 1689 | | |
1689 | 1690 | | |
| 1691 | + | |
1690 | 1692 | | |
1691 | 1693 | | |
1692 | 1694 | | |
| |||
1695 | 1697 | | |
1696 | 1698 | | |
1697 | 1699 | | |
1698 | | - | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
1699 | 1703 | | |
1700 | 1704 | | |
1701 | 1705 | | |
| |||
2187 | 2191 | | |
2188 | 2192 | | |
2189 | 2193 | | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
2190 | 2198 | | |
2191 | | - | |
2192 | | - | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
2193 | 2203 | | |
2194 | 2204 | | |
2195 | 2205 | | |
| |||
2211 | 2221 | | |
2212 | 2222 | | |
2213 | 2223 | | |
2214 | | - | |
2215 | | - | |
| 2224 | + | |
| 2225 | + | |
2216 | 2226 | | |
2217 | 2227 | | |
2218 | 2228 | | |
2219 | 2229 | | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
2220 | 2238 | | |
2221 | 2239 | | |
2222 | 2240 | | |
| |||
2515 | 2533 | | |
2516 | 2534 | | |
2517 | 2535 | | |
| 2536 | + | |
| 2537 | + | |
2518 | 2538 | | |
2519 | 2539 | | |
2520 | 2540 | | |
| |||
2527 | 2547 | | |
2528 | 2548 | | |
2529 | 2549 | | |
| 2550 | + | |
2530 | 2551 | | |
2531 | 2552 | | |
0 commit comments