wlan: sc2331: Fix to return error on timeout 95/233695/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.103124 accepted/tizen/6.0/unified/20211029.081326 accepted/tizen/6.0/unified/hotfix/20201103.045618 accepted/tizen/unified/20200528.132935 submit/tizen/20200526.073613 submit/tizen_6.0/20201029.205505 submit/tizen_6.0/20211029.144301 submit/tizen_6.0_hotfix/20201102.192905 submit/tizen_6.0_hotfix/20201103.115105 tizen_6.0.m2_release
authorSemun Lee <semun.lee@samsung.com>
Mon, 18 May 2020 08:51:47 +0000 (17:51 +0900)
committerSemun Lee <semun.lee@samsung.com>
Mon, 18 May 2020 08:51:47 +0000 (17:51 +0900)
commit6b5b49cd22acfbc51e5e78f86f450aa727768362
tree680dbadbff3a2f305a9da4abfc209246218eba84
parentc724210cfe75b069e1f2e7abe1dc976748610688
wlan: sc2331: Fix to return error on timeout

When nl80211 command timed out, the driver should return error.
The state of data structure in the driver should be updated
only when it succeed.

Change-Id: I31e3440e442531eb6136d09e5bb8069c1da09daf
Signed-off-by: Semun Lee <semun.lee@samsung.com>
drivers/net/wireless/sc2331/wlan_cfg80211.c
drivers/net/wireless/sc2331/wlan_cmd.c