]> asedeno.scripts.mit.edu Git - linux.git/commit
nl80211: Pass center frequency in kHz instead of MHz
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Tue, 21 Aug 2018 06:22:20 +0000 (09:22 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 28 Aug 2018 09:41:23 +0000 (11:41 +0200)
commitb88d26d97c41680f7327e5fb8061ad0037877f40
treed8a922896d3c748d69bb081d8cf05d2fb3d1661b
parentd3c89bbc7491d5e288ca2993e999d24ba9ff52ad
nl80211: Pass center frequency in kHz instead of MHz

freq_reg_info expects to get the frequency in kHz. Instead we
accidently pass it in MHz.  Thus, currently the function always
return ERR rule. Fix that.

Fixes: 50f32718e125 ("nl80211: Add wmm rule attribute to NL80211_CMD_GET_WIPHY dump command")
Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
[fix kHz/MHz in commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c