]> 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)
commitc519663fc062d8e5f4af859876f51ec10c9d99c8
tree670f672cf55973083d1baaeb6342b9d57933668a
parentea438f9aca1d79fd9fdd070e464e32d9b905f490
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