Skip to content
Snippets Groups Projects
Commit 246ad56e authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211_hwsim: make multi-channel ops const


Instead of building the multi-channel ops at runtime, declare
the common ops with a macro and build both that way, so that
the multi-channel ops can also be const.

As a side effect, due to the removed code, this decreases the
size of the module (while shifting data from .bss to .text
due to the newly added const).

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 850092db
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment