]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mac80211: Make use of ieee80211_is_* functions in tx status path
authorHelmut Schaa <helmut.schaa@googlemail.com>
Thu, 8 Dec 2011 12:11:55 +0000 (13:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:30:46 +0000 (15:30 -0500)
commitadf5ace5d8161b962afe90e77922728a425b6933
tree670f672cf55973083d1baaeb6342b9d57933668a
parent8cb25e14fe80d0fac42412364df573eb3e8e83cc
mac80211: Make use of ieee80211_is_* functions in tx status path

Use ieee80211_is_data, ieee80211_is_mgmt and ieee80211_is_first_frag
in the tx status path. This makes the code easier to read and allows us
to remove two local variables: frag and type.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/status.c