compat-2.6: uncomment out the wiphy_type on older kernels
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Oct 2009 23:22:54 +0000 (19:22 -0400)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Oct 2009 23:22:54 +0000 (19:22 -0400)
commit4183d5726629b4c8f5a48b4b03fcc35fd97d3765
treef3e4f2adc40953c0453f105ee5d0aa3ec89e9280
parent57473916ac123ad5121ffb3a92e43d0104b3fc94
compat-2.6: uncomment out the wiphy_type on older kernels

Kernels >= 2.6.32 can identify the type of device netdevice
so that sysfs can be used to get this. We never really had a
systematic way of doing this -- now we do through the
SET_NETDEV_DEVTYPE() macro. For older kernels we make the
SET_NETDEV_DEVTYPE() be a no-op this means the wireless type
we define is unused so we ucomment it simply to avoid a
compile warning.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/patches/14-device-type.patch [new file with mode: 0644]