wireless: wext: use struct iwreq earlier in the call chain
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jun 2017 07:21:58 +0000 (09:21 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jun 2017 11:37:42 +0000 (13:37 +0200)
commit4f39a1f5870104b1670df2c09c831ac281896545
treeada5f4cbec4bf1c24233d23ab4c1a2530ce408d4
parent8bfb3676606454ffec836f56c5dc3e69dfc0956a
wireless: wext: use struct iwreq earlier in the call chain

To make it clear that we never use struct ifreq, cast from it
directly in the wext entrypoint and use struct iwreq from there
on. The next patch will remove the cast again and pass the
correct struct from the beginning.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/wext-core.c