diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2013-11-13 02:43:03 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-11-25 14:51:53 -0500 |
commit | 6f101ef04b77bcad71049e07007d34d14cab7b2f (patch) | |
tree | 3d26379af6043c49451ff19fbfda16e431fd1f06 /net/mac80211/sta_info.c | |
parent | 2a901468c221e778af52603e006a53d286e81f90 (diff) |
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/sta_info.c')
-rw-r--r-- | net/mac80211/sta_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 7a9151590cce..45b5f610674e 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c | |||
@@ -631,7 +631,7 @@ void sta_info_recalc_tim(struct sta_info *sta) | |||
631 | } else if (ieee80211_vif_is_mesh(&sta->sdata->vif)) { | 631 | } else if (ieee80211_vif_is_mesh(&sta->sdata->vif)) { |
632 | ps = &sta->sdata->u.mesh.ps; | 632 | ps = &sta->sdata->u.mesh.ps; |
633 | /* TIM map only for 1 <= PLID <= IEEE80211_MAX_AID */ | 633 | /* TIM map only for 1 <= PLID <= IEEE80211_MAX_AID */ |
634 | id = le16_to_cpu(sta->plid) % (IEEE80211_MAX_AID + 1); | 634 | id = sta->plid % (IEEE80211_MAX_AID + 1); |
635 | #endif | 635 | #endif |
636 | } else { | 636 | } else { |
637 | return; | 637 | return; |