提交 98aed9fd 编写于 作者: J Johannes Berg 提交者: John W. Linville

mac80211: fix mesh TX coding style

Fix bad indentation & pointless if nesting.
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 99fec5de
...@@ -1467,12 +1467,12 @@ void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb) ...@@ -1467,12 +1467,12 @@ void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
if (ieee80211_vif_is_mesh(&sdata->vif) && if (ieee80211_vif_is_mesh(&sdata->vif) &&
ieee80211_is_data(hdr->frame_control) && ieee80211_is_data(hdr->frame_control) &&
!is_multicast_ether_addr(hdr->addr1)) !is_multicast_ether_addr(hdr->addr1) &&
if (mesh_nexthop_resolve(skb, sdata)) { mesh_nexthop_resolve(skb, sdata)) {
/* skb queued: don't free */ /* skb queued: don't free */
rcu_read_unlock(); rcu_read_unlock();
return; return;
} }
ieee80211_set_qos_hdr(sdata, skb); ieee80211_set_qos_hdr(sdata, skb);
ieee80211_tx(sdata, skb, false); ieee80211_tx(sdata, skb, false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册