Fix an error in assigning NL80211_STA_INFO_PLID data to station_info->plid 11/161411/2 accepted/tizen/unified/20171124.064639 submit/tizen/20171123.112104
authorsaerome.kim <saerome.kim@samsung.com>
Thu, 23 Nov 2017 08:27:34 +0000 (17:27 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Thu, 23 Nov 2017 08:35:02 +0000 (17:35 +0900)
Change-Id: I492f9d9aaa632456a109417b50755dc1f48a8c5d
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
src/wmesh-netlink.c

index fa3df4e..37f8499 100644 (file)
@@ -811,7 +811,7 @@ static int _on_receive_station_info(struct nl_msg *msg, void *arg)
                WMESH_LOGD("    mesh llid:\t%d", station_info->llid);
        }
        if (0 != sta_info[NL80211_STA_INFO_PLID]) {
-               station_info->llid = nla_get_u16(sta_info[NL80211_STA_INFO_PLID]);
+               station_info->plid = nla_get_u16(sta_info[NL80211_STA_INFO_PLID]);
                WMESH_LOGD("    mesh plid:\t%d", station_info->plid);
        }