]> git.karo-electronics.de Git - linux-beck.git/commit
brcmfmac: tag packet in the netdev transmit callback
authorArend van Spriel <arend@broadcom.com>
Wed, 26 Jun 2013 12:35:10 +0000 (14:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jun 2013 17:42:18 +0000 (13:42 -0400)
commit456d0685c7522c661bf5af7930317ffcb710a858
treefc28559246844cbece0a7d0b7d587758bbee2d58
parent3b81a6809480f3fc7d9d06562704c8df18ecec00
brcmfmac: tag packet in the netdev transmit callback

Transmit packets needs to be tagged in order to receive a tx status
feedback from the firmware. Determine the tag in the netdev transmit
callback instead of determining the tag just before transfer to the
device. This reduces the number of exception flows and hence makes
the driver code simpler.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c