commit | 4fcb7f5feb0415b395decc04ba0fc73c7e481860 | [log] [tgz] |
---|---|---|
author | Chandrasekaran Manishekar <cmshekar@codeaurora.org> | Mon Mar 07 19:09:20 2016 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Apr 17 17:54:53 2016 -0700 |
tree | 386b5b03ad7b4fb8a9ca4cab99984493350785b6 | |
parent | 802827d23c17c86bd8c13f7e65f6c73926929b6f [diff] |
qcacld-3.0: Fix enum mismatch while calculating regulatory class Fix the enum value used while calculating the regulatory class from the operating channel. Currently, the channel width is of type 'enum ch_width' whereas the expected enum is of type 'offset_t'. Fixing the same by performing the enum conversion before calculating the regulatory class to avoid incorrect value of regulatory class. Change-Id: I6aabb8ae78836e3c640f41b27e10830adc91a57e CRs-Fixed: 986246