Hide subtype mask/shift (which is used for index calculation in ieee80211_mgt_subtype_name[] array) in function call.
Details
Details
- Reviewers
adrian - Commits
- rS298376: net80211: hide subtype mask & shift in function call.
Tested with RTL8188CUS, STA mode.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
let's make the two subtype functions also do the mask, and reduce code duplication there. Then yeah, commit away!
sys/net80211/ieee80211_input.c | ||
---|---|---|
931 ↗ | (On Diff #13554) | may as well have the function also do the mask, right? |