mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 13:17:25 +01:00 
			
		
		
		
	netdev: fixed netdev_set_iftype
While this would issue a SET_INTERFACE to the kernel it would not actually set netdev->type, so netdev_get_iftype would return incorrectly.
This commit is contained in:
		
							parent
							
								
									27e9b6c435
								
							
						
					
					
						commit
						0b5a3da2ef
					
				| @ -3470,6 +3470,8 @@ int netdev_set_iftype(struct netdev *netdev, enum netdev_iftype type) | ||||
| 		return -EIO; | ||||
| 	} | ||||
| 
 | ||||
| 	netdev->type = type; | ||||
| 
 | ||||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Prestwood
						James Prestwood