Revert "wifi: Set the mode at native layer"

This reverts commit e607ce9ee07d47e4da44ffd4e1b0090cb95ddaf2.