mac80211: refactor ieee80211_set_qos_hdr
authorMarco Porsch <marco.porsch@etit.tu-chemnitz.de>
Thu, 22 Nov 2012 02:40:31 +0000 (18:40 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 26 Nov 2012 10:36:02 +0000 (11:36 +0100)
commit40aefedc8b494d6a7006ceb9d051fbc58268c86e
tree7c3aabbbd7640ae4ceffcaba20112a414760801b
parent65821635d26d3173a3b22781e2c60d5e6fcaeb22
mac80211: refactor ieee80211_set_qos_hdr

Return early if not a QoS Data frame.
Give proper documentation.

Signed-off-by: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/wme.c