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
Unknown Object (File)
Tue, Nov 19, 2:12 PM
Unknown Object (File)
Thu, Nov 14, 6:43 AM
Unknown Object (File)
Sun, Nov 3, 10:45 AM
Unknown Object (File)
Oct 17 2024, 3:31 AM
Unknown Object (File)
Oct 2 2024, 9:07 PM
Unknown Object (File)
Sep 27 2024, 5:55 AM
Unknown Object (File)
Sep 27 2024, 1:57 AM
Unknown Object (File)
Sep 23 2024, 5:51 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 Not Applicable
Unit
Tests Not Applicable

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