summaryrefslogtreecommitdiff
path: root/net/mac80211/mesh_ps.c
diff options
context:
space:
mode:
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>2013-11-13 11:43:03 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-11-25 23:51:53 +0400
commit6f101ef04b77bcad71049e07007d34d14cab7b2f (patch)
tree3d26379af6043c49451ff19fbfda16e431fd1f06 /net/mac80211/mesh_ps.c
parent2a901468c221e778af52603e006a53d286e81f90 (diff)
downloadlinux-6f101ef04b77bcad71049e07007d34d14cab7b2f.tar.xz
mac80211: use put_unaligned_le16 in mesh_plink_frame_tx
Use put_unaligned_le16 in mesh_plink_frame_tx. Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_ps.c')
-rw-r--r--net/mac80211/mesh_ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_ps.c b/net/mac80211/mesh_ps.c
index 9493868ef6c3..2802f9d9279d 100644
--- a/net/mac80211/mesh_ps.c
+++ b/net/mac80211/mesh_ps.c
@@ -578,7 +578,7 @@ void ieee80211_mps_frame_release(struct sta_info *sta,
if (sta->plink_state == NL80211_PLINK_ESTAB)
has_buffered = ieee80211_check_tim(elems->tim, elems->tim_len,
- le16_to_cpu(sta->llid));
+ sta->llid);
if (has_buffered)
mps_dbg(sta->sdata, "%pM indicates buffered frames\n",