commit | 246ad56e25b4005648cd54e0f0ab8f0357f8a42a | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Oct 10 12:09:52 2016 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Oct 12 10:50:44 2016 +0200 |
tree | a53ef8e4299db609cacd170b971a85ccaeb0529f | |
parent | 850092db5acfd9cd2c9c2e80ca974843c4f1283b [diff] |
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: Johannes Berg <johannes.berg@intel.com>