summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_ht.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-11-08 15:51:52 +0000
committerjhb <jhb@FreeBSD.org>2007-11-08 15:51:52 +0000
commit3a40a5ed4b786bf73f078c9fe24b319789a2c8a6 (patch)
tree9c3468dbd516a1fccc1177499a42176db0f72c6c /sys/net80211/ieee80211_ht.c
parent6111e1564791ad4687b645ebd1434014c6ea9827 (diff)
downloadFreeBSD-src-3a40a5ed4b786bf73f078c9fe24b319789a2c8a6.zip
FreeBSD-src-3a40a5ed4b786bf73f078c9fe24b319789a2c8a6.tar.gz
Make it easier to add more ptys to the pty(4) driver:
- Use unit2minor() and minor2unit() to generate minor numbers to support unit numbers higher than 255. - Use simple string operations on the 'names' array rather than hard-coded constants and switch statements so that more ptys can be added by simply expanding the 'names' array. MFC after: 1 week
Diffstat (limited to 'sys/net80211/ieee80211_ht.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud