Page MenuHomeFreeBSD

network.subr: adjust regex for wlans_xxxxx rc.conf entries
ClosedPublic

Authored by bz on Apr 18 2023, 8:47 PM.
Tags
None
Referenced Files
F112398593: D39674.diff
Mon, Mar 17, 7:31 AM
Unknown Object (File)
Sat, Mar 15, 12:14 AM
Unknown Object (File)
Thu, Mar 13, 9:15 AM
Unknown Object (File)
Mon, Mar 10, 3:25 PM
Unknown Object (File)
Tue, Feb 25, 2:38 PM
Unknown Object (File)
Feb 1 2025, 4:27 AM
Unknown Object (File)
Jan 18 2025, 9:32 PM
Unknown Object (File)
Jan 18 2025, 9:14 PM

Details

Summary

Drivers like ath10k and ath11k will not match the current regex as
they have digits followed by letters. Adjust the regex to allow
this combination in order to be able to configure interfaces with
names like wlans_ath11k0="..."

MFC after: 7 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51061
Build 47952: arc lint + arc unit

Event Timeline

bz requested review of this revision.Apr 18 2023, 8:47 PM
emaste added a subscriber: emaste.

Or maybe [a-z]+[a-z0-9]+[0-9]+?

This revision is now accepted and ready to land.Apr 20 2023, 1:11 PM

Or maybe [a-z]+[a-z0-9]+[0-9]+?

Probably very wise, I'll update in a second.

Ehance the regex further as suggested by @emaste

This revision now requires review to proceed.Apr 20 2023, 2:10 PM
This revision is now accepted and ready to land.Apr 20 2023, 2:12 PM