]> git.baikalelectronics.ru Git - 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)
commitfed2e1f1d4f04d5bc995c249b4638b956e475115
tree670f672cf55973083d1baaeb6342b9d57933668a
parent1077be1fbf888807b7d781b61f443c1536504258
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