mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
nl80211: Uninitialized variable
There is a path in nl80211_set_wiphy where result is tested but uninitialized. I am hitting this path when I attempt: sh# iw dev wlan0 set channel 10 command failed: Unknown error 1069727332 (-1069727332) Signed-off-by: William Jordan <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
942623166d
commit
a1e567c83f
1 changed files with 1 additions and 1 deletions
|
|
@ -833,7 +833,7 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
|
|||
struct cfg80211_registered_device *rdev;
|
||||
struct net_device *netdev = NULL;
|
||||
struct wireless_dev *wdev;
|
||||
int result, rem_txq_params = 0;
|
||||
int result = 0, rem_txq_params = 0;
|
||||
struct nlattr *nl_txq_params;
|
||||
u32 changed;
|
||||
u8 retry_short = 0, retry_long = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue