Repository navigation
Commit 4b3a89d
brcmfmac: Create netdev before returning from add_virtual_intf.
Currently netdev gets created possibly after returning from
add_virtual_intf. This is because add_if is handled asynch. This
is wrong and netdev should be up before returning.
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>1 parent dae3a27 commit 4b3a89d
3 files changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1591 | 1591 | | |
1592 | 1592 | | |
1593 | 1593 | | |
1594 | | - | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
1595 | 1599 | | |
1596 | 1600 | | |
1597 | 1601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4665 | 4665 | | |
4666 | 4666 | | |
4667 | 4667 | | |
4668 | | - | |
4669 | | - | |
4670 | | - | |
4671 | | - | |
| 4668 | + | |
4672 | 4669 | | |
4673 | 4670 | | |
4674 | 4671 | | |
| |||
4800 | 4797 | | |
4801 | 4798 | | |
4802 | 4799 | | |
4803 | | - | |
4804 | 4800 | | |
4805 | 4801 | | |
4806 | 4802 | | |
| |||
5154 | 5150 | | |
5155 | 5151 | | |
5156 | 5152 | | |
5157 | | - | |
5158 | | - | |
5159 | | - | |
5160 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | 340 | | |
342 | 341 | | |
343 | 342 | | |
| |||
493 | 492 | | |
494 | 493 | | |
495 | 494 | | |
496 | | - | |
497 | 495 | | |
498 | 496 | | |
499 | 497 | | |
| |||
0 commit comments