mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
mac80211: fix return from ieee80211_assoc_success
sparse pointed out that I made a mistake converting the return value of ieee80211_assoc_success to bool, this place should return false instead of one of the enum values (which would be true). Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
67e2eb2795
commit
90be561b11
1 changed files with 1 additions and 1 deletions
|
@ -1098,7 +1098,7 @@ static bool ieee80211_assoc_success(struct ieee80211_work *wk,
|
|||
if (err) {
|
||||
printk(KERN_DEBUG "%s: failed to insert STA entry for"
|
||||
" the AP (error %d)\n", sdata->name, err);
|
||||
return RX_MGMT_CFG80211_ASSOC_ERROR;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (elems.wmm_param)
|
||||
|
|
Loading…
Reference in a new issue