Skip to content

Commit

Permalink
Fix enable_interrupts method in VirtIONet (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
fslongjin authored Apr 29, 2024
1 parent 2f12110 commit 191d9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device/net/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl<H: Hal, T: Transport, const QUEUE_SIZE: usize> VirtIONet<H, T, QUEUE_SIZE>

/// Enable interrupts.
pub fn enable_interrupts(&mut self) {
self.inner.disable_interrupts()
self.inner.enable_interrupts()
}

/// Get MAC address.
Expand Down

0 comments on commit 191d9b8

Please sign in to comment.