]> Pileus Git - ~andy/linux/blobdiff - net/mac80211/mesh_ps.c
mac80211: use put_unaligned_le16 in mesh_plink_frame_tx
[~andy/linux] / net / mac80211 / mesh_ps.c
index 9493868ef6c3af76447692c6f4cc87b208950afe..2802f9d9279de1527927a88bc731489cc22613c7 100644 (file)
@@ -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",