- Start vap(s) (via ieee80211_start_all()) only when initialization succeeds; stop the first vap otherwise (via ieee80211_stop());
- Do not try to stop a device multiple times (move (sc->sc_flags & RTWN_RUNNING) check to urtwn_stop_locked()).
Details
Details
- Reviewers
kevlo adrian - Commits
- rS294842: rtwn: do not start vap when initialization fails
untested, compilable
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
head/sys/dev/rtwn/if_rtwn.c | ||
---|---|---|
3371 | An erroneous RTWN_UNLOCK(sc) was removed from here (left from previous version) |