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)
Sun, Nov 3, 10:45 AM
Unknown Object (File)
Thu, Oct 17, 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
Unknown Object (File)
Sep 23 2024, 4:29 AM
Unknown Object (File)
Sep 22 2024, 10:53 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