mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
nl80211: Use signed function for a signed variable
The rssi_threshold is defined as s32. Signed-off-by: Masashi Honma <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
parent
5c19dfbe96
commit
335d534938
1 changed files with 1 additions and 1 deletions
|
|
@ -5714,7 +5714,7 @@ static int nl80211_get_mesh_config(struct sk_buff *skb,
|
|||
cur_params.dot11MeshGateAnnouncementProtocol) ||
|
||||
nla_put_u8(msg, NL80211_MESHCONF_FORWARDING,
|
||||
cur_params.dot11MeshForwarding) ||
|
||||
nla_put_u32(msg, NL80211_MESHCONF_RSSI_THRESHOLD,
|
||||
nla_put_s32(msg, NL80211_MESHCONF_RSSI_THRESHOLD,
|
||||
cur_params.rssi_threshold) ||
|
||||
nla_put_u32(msg, NL80211_MESHCONF_HT_OPMODE,
|
||||
cur_params.ht_opmode) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue