]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nl80211: Fix enum type of variable in nl80211_put_sta_rate()
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 17 Apr 2017 22:59:52 +0000 (15:59 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Apr 2017 09:03:03 +0000 (11:03 +0200)
commitbbf67e450a5dc2a595e1e7a67b4869f1a7f5a338
treedd0f5e47b0c82dc211473725f2bff30ed00d2e02
parenta4ac6f2e53e568a77a2eb3710efd99ca08634c0a
nl80211: Fix enum type of variable in nl80211_put_sta_rate()

rate_flg is of type 'enum nl80211_attrs', however it is assigned with
'enum nl80211_rate_info' values. Change the type of rate_flg accordingly.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c