projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c19dfb
)
nl80211: Use signed function for a signed variable
author
Masashi Honma
<masashi.honma@gmail.com>
Thu, 16 Mar 2017 01:57:17 +0000
(10:57 +0900)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 16 Mar 2017 09:54:41 +0000
(10:54 +0100)
The rssi_threshold is defined as s32.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index b15903b9c0ab1ecdbf958460d74e086ac96b2cee..bd5959fd29c530671063db64d2a23e5c44591686 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-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_
u
32(msg, NL80211_MESHCONF_RSSI_THRESHOLD,
+ nla_put_
s
32(msg, NL80211_MESHCONF_RSSI_THRESHOLD,
cur_params.rssi_threshold) ||
nla_put_u32(msg, NL80211_MESHCONF_HT_OPMODE,
cur_params.ht_opmode) ||