brcmsmac: export firmware version to ethtool
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Feb 2013 15:41:34 +0000 (16:41 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Mar 2013 21:24:26 +0000 (16:24 -0500)
commit7626cf19713464dbad96abba3f375771447925e6
treed57dfef0e46e7e8a0449a72b6c5ab4c18461d3bd
parent5f34608fa2acbfef5a06d0072a978c9943c28a2d
brcmsmac: export firmware version to ethtool

This exports the firmware version in use to userspace through ethtool.

root@OpenWrt:/# ethtool -i wlan0
firmware-version: 610.812

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/main.c