mac80211: remove encrypt parameter from ieee80211_tx_skb

Since the flags moved into skb->cb, there's no
longer a need to have the encrypt bool passed
into the function, anyone who requires it set
to 0 (false) can just set the flag directly.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2009-11-18 18:42:05 +01:00
committed by John W. Linville
parent 875405a779
commit 62ae67be31
12 changed files with 27 additions and 24 deletions

View File

@@ -187,7 +187,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,
memcpy(pos, &target_sn, 4);
}
ieee80211_tx_skb(sdata, skb, 1);
ieee80211_tx_skb(sdata, skb);
return 0;
}
@@ -250,7 +250,7 @@ int mesh_path_error_tx(u8 ttl, u8 *target, __le32 target_sn,
pos += 4;
memcpy(pos, &target_rcode, 2);
ieee80211_tx_skb(sdata, skb, 1);
ieee80211_tx_skb(sdata, skb);
return 0;
}