Revert "wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel"
authorJohannes Berg <johannes.berg@intel.com>
Mon, 8 Aug 2016 06:45:33 +0000 (08:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Aug 2016 06:49:50 +0000 (08:49 +0200)
commit4d0bd46a4d55383f7b925e6cf7865a77e0f0e020
tree4fe35253601a7db57f1b089d462a0bf31f6b33fb
parent2439ca0402091badb24415e1b073ba12b34ba423
Revert "wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel"

This reverts commit 3d5fdff46c4b2b9534fa2f9fc78e90a48e0ff724.

Ben Hutchings pointed out that the commit isn't safe since it assumes
that the structure used by the driver is iw_point, when in fact there's
no way to know about that.

Fortunately, the only driver in the tree that ever runs this code path
is the wilc1000 staging driver, so it doesn't really matter.

Clearly I should have investigated this better before applying, sorry.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org [though I guess it doesn't matter much]
Fixes: 3d5fdff46c4b ("wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/wext-core.c